CheckNameAvailabilityInput Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CheckNameAvailabilityInput
- com.
Implements
public final class CheckNameAvailabilityInput
implements JsonSerializable<CheckNameAvailabilityInput>
Input of CheckNameAvailability API.
Constructor Summary
| Constructor | Description |
|---|---|
| CheckNameAvailabilityInput() |
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 resource name to validate. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Resource |
type()
Get the type property: The type of the resource whose name is to be validated. |
| void |
validate()
Validates the instance. |
|
Check |
withName(String name)
Set the name property: The resource name to validate. |
|
Check |
withType(ResourceType type)
Set the type property: The type of the resource whose name is to be validated. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityInput
public CheckNameAvailabilityInput()
Creates an instance of CheckNameAvailabilityInput class.
Method Details
fromJson
public static CheckNameAvailabilityInput fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityInput from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The resource name to validate.
Returns:
toJson
type
public ResourceType type()
Get the type property: The type of the resource whose name is to be validated.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityInput withName(String name)
Set the name property: The resource name to validate.
Parameters:
Returns:
withType
public CheckNameAvailabilityInput withType(ResourceType type)
Set the type property: The type of the resource whose name is to be validated.
Parameters:
Returns: