CheckNameAvailabilityParameters Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. CheckNameAvailabilityParameters
- com.
Implements
public final class CheckNameAvailabilityParameters
implements JsonSerializable<CheckNameAvailabilityParameters>
Details of check name availability request body.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckNameAvailabilityParameters() |
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: Name for checking availability. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The resource type of Quantum Workspace. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: Name for checking availability. |
|
Check |
withType(String type)
Set the type property: The resource type of Quantum Workspace. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
Creates an instance of CheckNameAvailabilityParameters class.
Method Details
fromJson
public static CheckNameAvailabilityParameters fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityParameters from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name for checking availability.
Returns:
toJson
type
public String type()
Get the type property: The resource type of Quantum Workspace.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityParameters withName(String name)
Set the name property: Name for checking availability.
Parameters:
Returns:
withType
public CheckNameAvailabilityParameters withType(String type)
Set the type property: The resource type of Quantum Workspace.
Parameters:
Returns: