Class ApiReference

java.lang.Object
com.azure.resourcemanager.logic.models.ResourceReference
com.azure.resourcemanager.logic.models.ApiReference

public final class ApiReference extends ResourceReference
The Api reference.
  • Constructor Details

    • ApiReference

      public ApiReference()
      Creates an instance of ApiReference class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The display name of the api.
      Returns:
      the displayName value.
    • withDisplayName

      public ApiReference withDisplayName(String displayName)
      Set the displayName property: The display name of the api.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApiReference object itself.
    • description

      public String description()
      Get the description property: The description of the api.
      Returns:
      the description value.
    • withDescription

      public ApiReference withDescription(String description)
      Set the description property: The description of the api.
      Parameters:
      description - the description value to set.
      Returns:
      the ApiReference object itself.
    • iconUri

      public String iconUri()
      Get the iconUri property: The icon uri of the api.
      Returns:
      the iconUri value.
    • withIconUri

      public ApiReference withIconUri(String iconUri)
      Set the iconUri property: The icon uri of the api.
      Parameters:
      iconUri - the iconUri value to set.
      Returns:
      the ApiReference object itself.
    • swagger

      public Object swagger()
      Get the swagger property: The swagger of the api.
      Returns:
      the swagger value.
    • withSwagger

      public ApiReference withSwagger(Object swagger)
      Set the swagger property: The swagger of the api.
      Parameters:
      swagger - the swagger value to set.
      Returns:
      the ApiReference object itself.
    • brandColor

      public String brandColor()
      Get the brandColor property: The brand color of the api.
      Returns:
      the brandColor value.
    • withBrandColor

      public ApiReference withBrandColor(String brandColor)
      Set the brandColor property: The brand color of the api.
      Parameters:
      brandColor - the brandColor value to set.
      Returns:
      the ApiReference object itself.
    • category

      public ApiTier category()
      Get the category property: The tier.
      Returns:
      the category value.
    • withCategory

      public ApiReference withCategory(ApiTier category)
      Set the category property: The tier.
      Parameters:
      category - the category value to set.
      Returns:
      the ApiReference object itself.
    • integrationServiceEnvironment

      public ResourceReference 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

      public ApiReference withId(String id)
      Set the id property: The resource id.
      Overrides:
      withId in class ResourceReference
      Parameters:
      id - the id value to set.
      Returns:
      the ResourceReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ResourceReference
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.