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 Summary
Constructors Constructor Description CustomHostnameSitesInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcustomHostname()Get the customHostname property: The customHostname property.Stringregion()Get the region property: The region property.List<IdentifierInner>siteResourceIds()Get the siteResourceIds property: The siteResourceIds property.voidvalidate()Validates the instance.CustomHostnameSitesInnerwithCustomHostname(String customHostname)Set the customHostname property: The customHostname property.CustomHostnameSitesInnerwithKind(String kind)Set the kind property: Kind of resource.CustomHostnameSitesInnerwithRegion(String region)Set the region property: The region property.CustomHostnameSitesInnerwithSiteResourceIds(List<IdentifierInner> siteResourceIds)Set the siteResourceIds property: The siteResourceIds property.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public CustomHostnameSitesInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-