CheckNameAvailabilityResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. fluent. models. CheckNameAvailabilityResponseInner
- com.
public final class CheckNameAvailabilityResponseInner
Check name availability response
A response saying whether the workspace name is available.
Constructor Summary
Constructor | Description |
---|---|
CheckNameAvailabilityResponseInner() |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
available()
Get the available property: Whether the workspace name is available. |
String |
message()
Get the message property: Validation message. |
String |
name()
Get the name property: Workspace name. |
String |
reason()
Get the reason property: Reason the workspace name is or is not available. |
void |
validate()
Validates the instance. |
Check |
withAvailable(Boolean available)
Set the available property: Whether the workspace name is available. |
Check |
withMessage(String message)
Set the message property: Validation message. |
Check |
withName(String name)
Set the name property: Workspace name. |
Check |
withReason(String reason)
Set the reason property: Reason the workspace name is or is not available. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityResponseInner
public CheckNameAvailabilityResponseInner()
Creates an instance of CheckNameAvailabilityResponseInner class.
Method Details
available
public Boolean available()
Get the available property: Whether the workspace name is available.
Returns:
message
public String message()
Get the message property: Validation message.
Returns:
name
public String name()
Get the name property: Workspace name.
Returns:
reason
public String reason()
Get the reason property: Reason the workspace name is or is not available.
Returns:
validate
public void validate()
Validates the instance.
withAvailable
public CheckNameAvailabilityResponseInner withAvailable(Boolean available)
Set the available property: Whether the workspace name is available.
Parameters:
Returns:
withMessage
public CheckNameAvailabilityResponseInner withMessage(String message)
Set the message property: Validation message.
Parameters:
Returns:
withName
public CheckNameAvailabilityResponseInner withName(String name)
Set the name property: Workspace name.
Parameters:
Returns:
withReason
public CheckNameAvailabilityResponseInner withReason(String reason)
Set the reason property: Reason the workspace name is or is not available.
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