Class ValidateCustomDomainInput
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ValidateCustomDomainInput
-
public final class ValidateCustomDomainInput extends Object
Input of the custom domain to be validated for DNS mapping.
-
-
Constructor Summary
Constructors Constructor Description ValidateCustomDomainInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhostname()Get the hostname property: The host name of the custom domain.voidvalidate()Validates the instance.ValidateCustomDomainInputwithHostname(String hostname)Set the hostname property: The host name of the custom domain.
-
-
-
Method Detail
-
hostname
public String hostname()
Get the hostname property: The host name of the custom domain. Must be a domain name.- Returns:
- the hostname value.
-
withHostname
public ValidateCustomDomainInput withHostname(String hostname)
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 ValidateCustomDomainInput object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-