public final class ApiReference extends ResourceReference
Constructor and Description |
---|
ApiReference() |
Modifier and Type | Method and Description |
---|---|
String |
brandColor()
Get the brandColor property: The brand color of the api.
|
ApiTier |
category()
Get the category property: The tier.
|
String |
description()
Get the description property: The description of the api.
|
String |
displayName()
Get the displayName property: The display name of the api.
|
String |
iconUri()
Get the iconUri property: The icon uri of the api.
|
ResourceReference |
integrationServiceEnvironment()
Get the integrationServiceEnvironment property: The integration service environment reference.
|
Object |
swagger()
Get the swagger property: The swagger of the api.
|
void |
validate()
Validates the instance.
|
ApiReference |
withBrandColor(String brandColor)
Set the brandColor property: The brand color of the api.
|
ApiReference |
withCategory(ApiTier category)
Set the category property: The tier.
|
ApiReference |
withDescription(String description)
Set the description property: The description of the api.
|
ApiReference |
withDisplayName(String displayName)
Set the displayName property: The display name of the api.
|
ApiReference |
withIconUri(String iconUri)
Set the iconUri property: The icon uri of the api.
|
ApiReference |
withId(String id)
Set the id property: The resource id.
|
ApiReference |
withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)
Set the integrationServiceEnvironment property: The integration service environment reference.
|
ApiReference |
withSwagger(Object swagger)
Set the swagger property: The swagger of the api.
|
id, name, type
public String displayName()
public ApiReference withDisplayName(String displayName)
displayName
- the displayName value to set.public String description()
public ApiReference withDescription(String description)
description
- the description value to set.public String iconUri()
public ApiReference withIconUri(String iconUri)
iconUri
- the iconUri value to set.public Object swagger()
public ApiReference withSwagger(Object swagger)
swagger
- the swagger value to set.public String brandColor()
public ApiReference withBrandColor(String brandColor)
brandColor
- the brandColor value to set.public ApiTier category()
public ApiReference withCategory(ApiTier category)
category
- the category value to set.public ResourceReference integrationServiceEnvironment()
public ApiReference withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)
integrationServiceEnvironment
- the integrationServiceEnvironment value to set.public ApiReference withId(String id)
withId
in class ResourceReference
id
- the id value to set.public void validate()
validate
in class ResourceReference
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.