Class ApiReference
java.lang.Object
com.azure.resourcemanager.logic.models.ResourceReference
com.azure.resourcemanager.logic.models.ApiReference
The Api reference.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the brandColor property: The brand color of the api.category()
Get the category property: The tier.Get the description property: The description of the api.Get the displayName property: The display name of the api.iconUri()
Get the iconUri property: The icon uri of the api.Get the integrationServiceEnvironment property: The integration service environment reference.swagger()
Get the swagger property: The swagger of the api.void
validate()
Validates the instance.withBrandColor
(String brandColor) Set the brandColor property: The brand color of the api.withCategory
(ApiTier category) Set the category property: The tier.withDescription
(String description) Set the description property: The description of the api.withDisplayName
(String displayName) Set the displayName property: The display name of the api.withIconUri
(String iconUri) Set the iconUri property: The icon uri of the api.Set the id property: The resource id.withIntegrationServiceEnvironment
(ResourceReference integrationServiceEnvironment) Set the integrationServiceEnvironment property: The integration service environment reference.withSwagger
(Object swagger) Set the swagger property: The swagger of the api.Methods inherited from class com.azure.resourcemanager.logic.models.ResourceReference
id, name, type
-
Constructor Details
-
ApiReference
public ApiReference()Creates an instance of ApiReference class.
-
-
Method Details
-
displayName
Get the displayName property: The display name of the api.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the api.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ApiReference object itself.
-
description
Get the description property: The description of the api.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the api.- Parameters:
description
- the description value to set.- Returns:
- the ApiReference object itself.
-
iconUri
Get the iconUri property: The icon uri of the api.- Returns:
- the iconUri value.
-
withIconUri
Set the iconUri property: The icon uri of the api.- Parameters:
iconUri
- the iconUri value to set.- Returns:
- the ApiReference object itself.
-
swagger
Get the swagger property: The swagger of the api.- Returns:
- the swagger value.
-
withSwagger
Set the swagger property: The swagger of the api.- Parameters:
swagger
- the swagger value to set.- Returns:
- the ApiReference object itself.
-
brandColor
Get the brandColor property: The brand color of the api.- Returns:
- the brandColor value.
-
withBrandColor
Set the brandColor property: The brand color of the api.- Parameters:
brandColor
- the brandColor value to set.- Returns:
- the ApiReference object itself.
-
category
Get the category property: The tier.- Returns:
- the category value.
-
withCategory
Set the category property: The tier.- Parameters:
category
- the category value to set.- Returns:
- the ApiReference object itself.
-
integrationServiceEnvironment
Get the integrationServiceEnvironment property: The integration service environment reference.- Returns:
- the integrationServiceEnvironment value.
-
withIntegrationServiceEnvironment
public ApiReference withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment) Set the integrationServiceEnvironment property: The integration service environment reference.- Parameters:
integrationServiceEnvironment
- the integrationServiceEnvironment value to set.- Returns:
- the ApiReference object itself.
-
withId
Set the id property: The resource id.- Overrides:
withId
in classResourceReference
- Parameters:
id
- the id value to set.- Returns:
- the ResourceReference object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceReference
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-