Class CheckEndpointNameAvailabilityOutputInner
- java.lang.Object
-
- com.azure.resourcemanager.cdn.fluent.models.CheckEndpointNameAvailabilityOutputInner
-
public final class CheckEndpointNameAvailabilityOutputInner extends Object
Output of check name availability API.
-
-
Constructor Summary
Constructors Constructor Description CheckEndpointNameAvailabilityOutputInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailableHostname()Get the availableHostname property: Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string.Stringmessage()Get the message property: The detailed error message describing why the name is not available.BooleannameAvailable()Get the nameAvailable property: Indicates whether the name is available.Stringreason()Get the reason property: The reason why the name is not available.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates whether the name is available.- Returns:
- the nameAvailable value.
-
availableHostname
public String availableHostname()
Get the availableHostname property: Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string.- Returns:
- the availableHostname value.
-
reason
public String reason()
Get the reason property: The reason why the name is not available.- Returns:
- the reason value.
-
message
public String message()
Get the message property: The detailed error message describing why the name is not available.- Returns:
- the message value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-