Class IotHubNameAvailabilityInfoInner
java.lang.Object
com.azure.resourcemanager.iothub.fluent.models.IotHubNameAvailabilityInfoInner
The properties indicating whether a given IoT hub name is available.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: The detailed reason message.Get the nameAvailable property: The value which indicates whether the provided name is available.reason()
Get the reason property: The reason for unavailability.void
validate()
Validates the instance.withMessage
(String message) Set the message property: The detailed reason message.
-
Constructor Details
-
IotHubNameAvailabilityInfoInner
public IotHubNameAvailabilityInfoInner()
-
-
Method Details
-
nameAvailable
Get the nameAvailable property: The value which indicates whether the provided name is available.- Returns:
- the nameAvailable value.
-
reason
Get the reason property: The reason for unavailability.- Returns:
- the reason value.
-
message
Get the message property: The detailed reason message.- Returns:
- the message value.
-
withMessage
Set the message property: The detailed reason message.- Parameters:
message
- the message value to set.- Returns:
- the IotHubNameAvailabilityInfoInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-