Class ServicesNameAvailabilityInfoInner
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.fluent.models.ServicesNameAvailabilityInfoInner
-
public final class ServicesNameAvailabilityInfoInner extends Object
The properties indicating whether a given service name is available.
-
-
Constructor Summary
Constructors Constructor Description ServicesNameAvailabilityInfoInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
message()
Get the message property: The detailed reason message.Boolean
nameAvailable()
Get the nameAvailable property: The value which indicates whether the provided name is available.ServiceNameUnavailabilityReason
reason()
Get the reason property: The reason for unavailability.void
validate()
Validates the instance.ServicesNameAvailabilityInfoInner
withMessage(String message)
Set the message property: The detailed reason message.
-
-
-
Method Detail
-
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: The value which indicates whether the provided name is available.- Returns:
- the nameAvailable value.
-
reason
public ServiceNameUnavailabilityReason reason()
Get the reason property: The reason for unavailability.- Returns:
- the reason value.
-
message
public String message()
Get the message property: The detailed reason message.- Returns:
- the message value.
-
withMessage
public ServicesNameAvailabilityInfoInner withMessage(String message)
Set the message property: The detailed reason message.- Parameters:
message
- the message value to set.- Returns:
- the ServicesNameAvailabilityInfoInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-