Class CheckNameAvailabilityResultInner
java.lang.Object
com.azure.resourcemanager.dataprotection.fluent.models.CheckNameAvailabilityResultInner
CheckNameAvailabilityResult
CheckNameAvailability Result.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: Gets or sets the message.Get the nameAvailable property: Gets or sets a value indicating whether [name available].reason()
Get the reason property: Gets or sets the reason.void
validate()
Validates the instance.withMessage
(String message) Set the message property: Gets or sets the message.withNameAvailable
(Boolean nameAvailable) Set the nameAvailable property: Gets or sets a value indicating whether [name available].withReason
(String reason) Set the reason property: Gets or sets the reason.
-
Constructor Details
-
CheckNameAvailabilityResultInner
public CheckNameAvailabilityResultInner()Creates an instance of CheckNameAvailabilityResultInner class.
-
-
Method Details
-
message
Get the message property: Gets or sets the message.- Returns:
- the message value.
-
withMessage
Set the message property: Gets or sets the message.- Parameters:
message
- the message value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
nameAvailable
Get the nameAvailable property: Gets or sets a value indicating whether [name available].- Returns:
- the nameAvailable value.
-
withNameAvailable
Set the nameAvailable property: Gets or sets a value indicating whether [name available].- Parameters:
nameAvailable
- the nameAvailable value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
reason
Get the reason property: Gets or sets the reason.- Returns:
- the reason value.
-
withReason
Set the reason property: Gets or sets the reason.- Parameters:
reason
- the reason value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-