CustomDomainValidateResult Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. CustomDomainValidateResult
- com.
Implements
public final class CustomDomainValidateResult
implements JsonSerializable<CustomDomainValidateResult>
Validation result for custom domain.
Constructor Summary
Constructor | Description |
---|---|
CustomDomainValidateResult() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
Boolean |
isValid()
Get the is |
String |
message()
Get the message property: Message of why domain name is invalid. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Custom |
withIsValid(Boolean isValid)
Set the is |
Custom |
withMessage(String message)
Set the message property: Message of why domain name is invalid. |
Methods inherited from java.lang.Object
Constructor Details
CustomDomainValidateResult
public CustomDomainValidateResult()
Creates an instance of CustomDomainValidateResult class.
Method Details
fromJson
public static CustomDomainValidateResult fromJson(JsonReader jsonReader)
Reads an instance of CustomDomainValidateResult from the JsonReader.
Parameters:
Returns:
Throws:
isValid
public Boolean isValid()
Get the isValid property: Indicates if domain name is valid.
Returns:
message
public String message()
Get the message property: Message of why domain name is invalid.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsValid
public CustomDomainValidateResult withIsValid(Boolean isValid)
Set the isValid property: Indicates if domain name is valid.
Parameters:
Returns:
withMessage
public CustomDomainValidateResult withMessage(String message)
Set the message property: Message of why domain name is invalid.
Parameters:
Returns:
Applies to
Azure SDK for Java