CheckNameAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. managementgroups. models. CheckNameAvailabilityRequest
- com.
Implements
public final class CheckNameAvailabilityRequest
implements JsonSerializable<CheckNameAvailabilityRequest>
Management group name availability check parameters.
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: the name to check for availability. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Type |
type()
Get the type property: fully qualified resource type which includes provider namespace. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: the name to check for availability. |
|
Check |
withType(Type type)
Set the type property: fully qualified resource type which includes provider namespace. |
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: the name to check for availability.
Returns:
toJson
type
public Type type()
Get the type property: fully qualified resource type which includes provider namespace.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityRequest withName(String name)
Set the name property: the name to check for availability.
Parameters:
Returns:
withType
public CheckNameAvailabilityRequest withType(Type type)
Set the type property: fully qualified resource type which includes provider namespace.
Parameters:
Returns: