Class CustomHostnameSitesInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameSitesInner
A hostname and its assigned sites.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomHostnameSitesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customHostname property: The customHostname property.region()Get the region property: The region property.Get the siteResourceIds property: The siteResourceIds property.voidvalidate()Validates the instance.withCustomHostname(String customHostname) Set the customHostname property: The customHostname property.Set the kind property: Kind of resource.withRegion(String region) Set the region property: The region property.withSiteResourceIds(List<IdentifierInner> siteResourceIds) Set the siteResourceIds property: The siteResourceIds property.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CustomHostnameSitesInner
public CustomHostnameSitesInner()Creates an instance of CustomHostnameSitesInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
customHostname
Get the customHostname property: The customHostname property.- Returns:
- the customHostname value.
-
withCustomHostname
Set the customHostname property: The customHostname property.- Parameters:
customHostname- the customHostname value to set.- Returns:
- the CustomHostnameSitesInner object itself.
-
region
Get the region property: The region property.- Returns:
- the region value.
-
withRegion
Set the region property: The region property.- Parameters:
region- the region value to set.- Returns:
- the CustomHostnameSitesInner object itself.
-
siteResourceIds
Get the siteResourceIds property: The siteResourceIds property.- Returns:
- the siteResourceIds value.
-
withSiteResourceIds
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.
-