CustomDomain Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. CustomDomain
- com.
Implements
public final class CustomDomain
implements JsonSerializable<CustomDomain>
The custom domain assigned to this storage account. This can be set via Update.
Constructor Summary
Constructor | Description |
---|---|
CustomDomain() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
String |
name()
Get the name property: Gets or sets the custom domain name assigned to the storage account. |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
useSubDomainName()
Get the use |
void |
validate()
Validates the instance. |
Custom |
withName(String name)
Set the name property: Gets or sets the custom domain name assigned to the storage account. |
Custom |
withUseSubDomainName(Boolean useSubDomainName)
Set the use |
Methods inherited from java.lang.Object
Constructor Details
CustomDomain
public CustomDomain()
Creates an instance of CustomDomain class.
Method Details
fromJson
public static CustomDomain fromJson(JsonReader jsonReader)
Reads an instance of CustomDomain from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.
Returns:
toJson
useSubDomainName
public Boolean useSubDomainName()
Get the useSubDomainName property: Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates.
Returns:
validate
public void validate()
Validates the instance.
withName
public CustomDomain withName(String name)
Set the name property: Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.
Parameters:
Returns:
withUseSubDomainName
public CustomDomain withUseSubDomainName(Boolean useSubDomainName)
Set the useSubDomainName property: Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates.
Parameters:
Returns:
Applies to
Azure SDK for Java