Class CheckNameAvailabilityRequest
java.lang.Object
com.azure.resourcemanager.synapse.models.CheckNameAvailabilityRequest
Check name availability request
A request about whether a workspace name is available.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityRequest class. -
Method Summary
-
Constructor Details
-
CheckNameAvailabilityRequest
public CheckNameAvailabilityRequest()Creates an instance of CheckNameAvailabilityRequest class.
-
-
Method Details
-
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 CheckNameAvailabilityRequest object itself.
-
type
Get the type property: Type: workspace.- Returns:
- the type value.
-
withType
Set the type property: Type: workspace.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-