DeepCreatedCustomDomain Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. DeepCreatedCustomDomain
- com.
Implements
public final class DeepCreatedCustomDomain
implements JsonSerializable<DeepCreatedCustomDomain>
Custom domains created on the CDN endpoint.
Constructor Summary
Constructor | Description |
---|---|
DeepCreatedCustomDomain() |
Creates an instance of Deep |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deep |
fromJson(JsonReader jsonReader)
Reads an instance of Deep |
String |
hostname()
Get the hostname property: The host name of the custom domain. |
String |
name()
Get the name property: Custom domain name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
validationData()
Get the validation |
Deep |
withHostname(String hostname)
Set the hostname property: The host name of the custom domain. |
Deep |
withName(String name)
Set the name property: Custom domain name. |
Deep |
withValidationData(String validationData)
Set the validation |
Methods inherited from java.lang.Object
Constructor Details
DeepCreatedCustomDomain
public DeepCreatedCustomDomain()
Creates an instance of DeepCreatedCustomDomain class.
Method Details
fromJson
public static DeepCreatedCustomDomain fromJson(JsonReader jsonReader)
Reads an instance of DeepCreatedCustomDomain from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the custom domain. Must be a domain name.
Returns:
name
public String name()
Get the name property: Custom domain name.
Returns:
toJson
validate
public void validate()
Validates the instance.
validationData
public String validationData()
Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
Returns:
withHostname
public DeepCreatedCustomDomain withHostname(String hostname)
Set the hostname property: The host name of the custom domain. Must be a domain name.
Parameters:
Returns:
withName
public DeepCreatedCustomDomain withName(String name)
Set the name property: Custom domain name.
Parameters:
Returns:
withValidationData
public DeepCreatedCustomDomain withValidationData(String validationData)
Set the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
Parameters:
Returns: