CheckNameAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. CheckNameAvailabilityRequest
- com.
Implements
public final class CheckNameAvailabilityRequest
implements JsonSerializable<CheckNameAvailabilityRequest>
Check name availability request A request about whether a workspace name is available.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckNameAvailabilityRequest() |
Creates an instance of Check |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
name()
Get the name property: Workspace name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type: workspace. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: Workspace name. |
|
Check |
withType(String type)
Set the type property: Type: workspace. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityRequest
public CheckNameAvailabilityRequest()
Creates an instance of CheckNameAvailabilityRequest class.
Method Details
fromJson
public static CheckNameAvailabilityRequest fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityRequest from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Workspace name.
Returns:
toJson
type
public String type()
Get the type property: Type: workspace.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityRequest withName(String name)
Set the name property: Workspace name.
Parameters:
Returns:
withType
public CheckNameAvailabilityRequest withType(String type)
Set the type property: Type: workspace.
Parameters:
Returns: