CheckNameAvailabilityParameters Class
- java.
lang. Object - com.
azure. resourcemanager. redis. models. CheckNameAvailabilityParameters
- com.
Implements
public final class CheckNameAvailabilityParameters
implements JsonSerializable<CheckNameAvailabilityParameters>
Parameters body to pass for resource name availability check.
Constructor | Description |
---|---|
Check |
Creates an instance of Check |
Modifier and Type | Method and Description |
---|---|
static
Check |
from Reads an instance of Check |
String |
name()
Get the name property: Resource name. |
Json |
to |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Check |
with Set the name property: Resource name. |
Check |
with Set the type property: Resource type. |
Methods inherited from java.lang.Object
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
Creates an instance of CheckNameAvailabilityParameters class.
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: Resource name.
Returns:
toJson
type
public String type()
Get the type property: Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityParameters withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withType
public CheckNameAvailabilityParameters withType(String type)
Set the type property: Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'.
Parameters:
Returns: