Class CustomHostnameSitesInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameSitesInner

public final class CustomHostnameSitesInner extends ProxyOnlyResource
A hostname and its assigned sites.
  • Constructor Details

    • CustomHostnameSitesInner

      public CustomHostnameSitesInner()
  • Method Details

    • withKind

      public CustomHostnameSitesInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • customHostname

      public String customHostname()
      Get the customHostname property: The customHostname property.
      Returns:
      the customHostname value.
    • withCustomHostname

      public CustomHostnameSitesInner withCustomHostname(String customHostname)
      Set the customHostname property: The customHostname property.
      Parameters:
      customHostname - the customHostname value to set.
      Returns:
      the CustomHostnameSitesInner object itself.
    • region

      public String region()
      Get the region property: The region property.
      Returns:
      the region value.
    • withRegion

      public CustomHostnameSitesInner withRegion(String region)
      Set the region property: The region property.
      Parameters:
      region - the region value to set.
      Returns:
      the CustomHostnameSitesInner object itself.
    • siteResourceIds

      public List<IdentifierInner> siteResourceIds()
      Get the siteResourceIds property: The siteResourceIds property.
      Returns:
      the siteResourceIds value.
    • withSiteResourceIds

      public CustomHostnameSitesInner withSiteResourceIds(List<IdentifierInner> siteResourceIds)
      Set the siteResourceIds property: The siteResourceIds property.
      Parameters:
      siteResourceIds - the siteResourceIds value to set.
      Returns:
      the CustomHostnameSitesInner object itself.
    • validate

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