Class CustomDomainValidateResult
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.CustomDomainValidateResult
-
public final class CustomDomainValidateResult extends Object
Validation result for custom domain.
-
-
Constructor Summary
Constructors Constructor Description CustomDomainValidateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisValid()Get the isValid property: Indicates if domain name is valid.Stringmessage()Get the message property: Message of why domain name is invalid.voidvalidate()Validates the instance.CustomDomainValidateResultwithIsValid(Boolean isValid)Set the isValid property: Indicates if domain name is valid.CustomDomainValidateResultwithMessage(String message)Set the message property: Message of why domain name is invalid.
-
-
-
Method Detail
-
isValid
public Boolean isValid()
Get the isValid property: Indicates if domain name is valid.- Returns:
- the isValid value.
-
withIsValid
public CustomDomainValidateResult withIsValid(Boolean isValid)
Set the isValid property: Indicates if domain name is valid.- Parameters:
isValid- the isValid value to set.- Returns:
- the CustomDomainValidateResult object itself.
-
message
public String message()
Get the message property: Message of why domain name is invalid.- Returns:
- the message value.
-
withMessage
public CustomDomainValidateResult withMessage(String message)
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.
-
-