Class DomainValidationProperties
java.lang.Object
com.azure.resourcemanager.cdn.models.DomainValidationProperties
The JSON object that contains the properties to validate a domain.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the expirationDate property: The date time that the token expires.voidvalidate()Validates the instance.Get the validationToken property: Challenge used for DNS TXT record or file based validation.
-
Constructor Details
-
DomainValidationProperties
public DomainValidationProperties()
-
-
Method Details
-
validationToken
Get the validationToken property: Challenge used for DNS TXT record or file based validation.- Returns:
- the validationToken value.
-
expirationDate
Get the expirationDate property: The date time that the token expires.- Returns:
- the expirationDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-