Class CustomDomainValidateResult
java.lang.Object
com.azure.resourcemanager.appplatform.models.CustomDomainValidateResult
Validation result for custom domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomDomainValidateResult class. -
Method Summary
Modifier and TypeMethodDescriptionisValid()Get the isValid property: Indicates if domain name is valid.message()Get the message property: Message of why domain name is invalid.voidvalidate()Validates the instance.withIsValid(Boolean isValid) Set the isValid property: Indicates if domain name is valid.withMessage(String message) Set the message property: Message of why domain name is invalid.
-
Constructor Details
-
CustomDomainValidateResult
public CustomDomainValidateResult()Creates an instance of CustomDomainValidateResult class.
-
-
Method Details
-
isValid
Get the isValid property: Indicates if domain name is valid.- Returns:
- the isValid value.
-
withIsValid
Set the isValid property: Indicates if domain name is valid.- Parameters:
isValid- the isValid value to set.- Returns:
- the CustomDomainValidateResult object itself.
-
message
Get the message property: Message of why domain name is invalid.- Returns:
- the message value.
-
withMessage
Set the message property: Message of why domain name is invalid.- Parameters:
message- the message value to set.- Returns:
- the CustomDomainValidateResult object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-