Class DeepCreatedCustomDomain
java.lang.Object
com.azure.resourcemanager.cdn.models.DeepCreatedCustomDomain
Custom domains created on the CDN endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhostname()Get the hostname property: The host name of the custom domain.name()Get the name property: Custom domain name.voidvalidate()Validates the instance.Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons.withHostname(String hostname) Set the hostname property: The host name of the custom domain.Set the name property: Custom domain name.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.
-
Constructor Details
-
DeepCreatedCustomDomain
public DeepCreatedCustomDomain()
-
-
Method Details
-
name
Get the name property: Custom domain name.- Returns:
- the name value.
-
withName
Set the name property: Custom domain name.- Parameters:
name- the name value to set.- Returns:
- the DeepCreatedCustomDomain object itself.
-
hostname
Get the hostname property: The host name of the custom domain. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: The host name of the custom domain. Must be a domain name.- Parameters:
hostname- the hostname value to set.- Returns:
- the DeepCreatedCustomDomain object itself.
-
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:
- the validationData value.
-
withValidationData
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:
validationData- the validationData value to set.- Returns:
- the DeepCreatedCustomDomain object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-