CheckCapacityNameAvailabilityResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. powerbidedicated. fluent. models. CheckCapacityNameAvailabilityResultInner
- com.
public final class CheckCapacityNameAvailabilityResultInner
The checking result of capacity name availability.
Constructor Summary
Constructor | Description |
---|---|
CheckCapacityNameAvailabilityResultInner() |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: The detailed message of the request unavailability. |
Boolean |
nameAvailable()
Get the name |
String |
reason()
Get the reason property: The reason of unavailability. |
void |
validate()
Validates the instance. |
Check |
withMessage(String message)
Set the message property: The detailed message of the request unavailability. |
Check |
withNameAvailable(Boolean nameAvailable)
Set the name |
Check |
withReason(String reason)
Set the reason property: The reason of unavailability. |
Methods inherited from java.lang.Object
Constructor Details
CheckCapacityNameAvailabilityResultInner
public CheckCapacityNameAvailabilityResultInner()
Creates an instance of CheckCapacityNameAvailabilityResultInner class.
Method Details
message
public String message()
Get the message property: The detailed message of the request unavailability.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicator of availability of the capacity name.
Returns:
reason
public String reason()
Get the reason property: The reason of unavailability.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public CheckCapacityNameAvailabilityResultInner withMessage(String message)
Set the message property: The detailed message of the request unavailability.
Parameters:
Returns:
withNameAvailable
public CheckCapacityNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicator of availability of the capacity name.
Parameters:
Returns:
withReason
public CheckCapacityNameAvailabilityResultInner withReason(String reason)
Set the reason property: The reason of unavailability.
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