Class CustomDomain
java.lang.Object
com.azure.resourcemanager.storage.models.CustomDomain
The custom domain assigned to this storage account. This can be set via Update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Gets or sets the custom domain name assigned to the storage account.Get the useSubDomainName property: Indicates whether indirect CName validation is enabled.voidvalidate()Validates the instance.Set the name property: Gets or sets the custom domain name assigned to the storage account.withUseSubDomainName(Boolean useSubDomainName) Set the useSubDomainName property: Indicates whether indirect CName validation is enabled.
-
Constructor Details
-
CustomDomain
public CustomDomain()
-
-
Method Details
-
name
Get the name property: Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.- Parameters:
name- the name value to set.- Returns:
- the CustomDomain object itself.
-
useSubDomainName
Get the useSubDomainName property: Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates.- Returns:
- the useSubDomainName value.
-
withUseSubDomainName
Set the useSubDomainName property: Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates.- Parameters:
useSubDomainName- the useSubDomainName value to set.- Returns:
- the CustomDomain object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-