Class CheckNameAvailabilityResponseInner
java.lang.Object
com.azure.resourcemanager.synapse.fluent.models.CheckNameAvailabilityResponseInner
Check name availability response
A response saying whether the workspace name is available.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the available property: Whether the workspace name is available.message()
Get the message property: Validation message.name()
Get the name property: Workspace name.reason()
Get the reason property: Reason the workspace name is or is not available.void
validate()
Validates the instance.withAvailable
(Boolean available) Set the available property: Whether the workspace name is available.withMessage
(String message) Set the message property: Validation message.Set the name property: Workspace name.withReason
(String reason) Set the reason property: Reason the workspace name is or is not available.
-
Constructor Details
-
CheckNameAvailabilityResponseInner
public CheckNameAvailabilityResponseInner()Creates an instance of CheckNameAvailabilityResponseInner class.
-
-
Method Details
-
message
Get the message property: Validation message.- Returns:
- the message value.
-
withMessage
Set the message property: Validation message.- Parameters:
message
- the message value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
available
Get the available property: Whether the workspace name is available.- Returns:
- the available value.
-
withAvailable
Set the available property: Whether the workspace name is available.- Parameters:
available
- the available value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
reason
Get the reason property: Reason the workspace name is or is not available.- Returns:
- the reason value.
-
withReason
Set the reason property: Reason the workspace name is or is not available.- Parameters:
reason
- the reason value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
name
Get the name property: Workspace name.- Returns:
- the name value.
-
withName
Set the name property: Workspace name.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-