IotHubNameAvailabilityInfoInner Class
- java.
lang. Object - com.
azure. resourcemanager. iothub. fluent. models. IotHubNameAvailabilityInfoInner
- com.
public final class IotHubNameAvailabilityInfoInner
The properties indicating whether a given IoT hub name is available.
Constructor Summary
Constructor | Description |
---|---|
IotHubNameAvailabilityInfoInner() |
Creates an instance of Iot |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: The detailed reason message. |
Boolean |
nameAvailable()
Get the name |
Iot |
reason()
Get the reason property: The reason for unavailability. |
void |
validate()
Validates the instance. |
Iot |
withMessage(String message)
Set the message property: The detailed reason message. |
Methods inherited from java.lang.Object
Constructor Details
IotHubNameAvailabilityInfoInner
public IotHubNameAvailabilityInfoInner()
Creates an instance of IotHubNameAvailabilityInfoInner class.
Method Details
message
public String message()
Get the message property: The detailed reason message.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: The value which indicates whether the provided name is available.
Returns:
reason
public IotHubNameUnavailabilityReason reason()
Get the reason property: The reason for unavailability.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public IotHubNameAvailabilityInfoInner withMessage(String message)
Set the message property: The detailed reason message.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for