Class DomainValidationProperties
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.DomainValidationProperties
-
public final class DomainValidationProperties extends Object
The JSON object that contains the properties to validate a domain.
-
-
Constructor Summary
Constructors Constructor Description DomainValidationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringexpirationDate()Get the expirationDate property: The date time that the token expires.voidvalidate()Validates the instance.StringvalidationToken()Get the validationToken property: Challenge used for DNS TXT record or file based validation.
-
-
-
Method Detail
-
validationToken
public String validationToken()
Get the validationToken property: Challenge used for DNS TXT record or file based validation.- Returns:
- the validationToken value.
-
expirationDate
public String 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.
-
-