com.azure.resourcemanager.appplatform.models.CustomDomainValidateResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appplatform Show documentation
Show all versions of azure-resourcemanager-appplatform Show documentation
This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appplatform.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Validation result for custom domain.
*/
@Fluent
public final class CustomDomainValidateResult {
/*
* Indicates if domain name is valid.
*/
@JsonProperty(value = "isValid")
private Boolean isValid;
/*
* Message of why domain name is invalid.
*/
@JsonProperty(value = "message")
private String message;
/**
* Creates an instance of CustomDomainValidateResult class.
*/
public CustomDomainValidateResult() {
}
/**
* Get the isValid property: Indicates if domain name is valid.
*
* @return the isValid value.
*/
public Boolean isValid() {
return this.isValid;
}
/**
* Set the isValid property: Indicates if domain name is valid.
*
* @param isValid the isValid value to set.
* @return the CustomDomainValidateResult object itself.
*/
public CustomDomainValidateResult withIsValid(Boolean isValid) {
this.isValid = isValid;
return this;
}
/**
* Get the message property: Message of why domain name is invalid.
*
* @return the message value.
*/
public String message() {
return this.message;
}
/**
* Set the message property: Message of why domain name is invalid.
*
* @param message the message value to set.
* @return the CustomDomainValidateResult object itself.
*/
public CustomDomainValidateResult withMessage(String message) {
this.message = message;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}