Class CheckEndpointNameAvailabilityOutputInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CheckEndpointNameAvailabilityOutputInner
Output of check name availability API.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CheckEndpointNameAvailabilityOutputInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the availableHostname property: Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string.message()Get the message property: The detailed error message describing why the name is not available.Get the nameAvailable property: Indicates whether the name is available.reason()Get the reason property: The reason why the name is not available.voidvalidate()Validates the instance.
-
Constructor Details
-
CheckEndpointNameAvailabilityOutputInner
public CheckEndpointNameAvailabilityOutputInner()Creates an instance of CheckEndpointNameAvailabilityOutputInner class.
-
-
Method Details
-
nameAvailable
Get the nameAvailable property: Indicates whether the name is available.- Returns:
- the nameAvailable value.
-
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
Get the reason property: The reason why the name is not available.- Returns:
- the reason value.
-
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.
-