Class CheckNameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.redis.models.CheckNameAvailabilityParameters
Parameters body to pass for resource name availability check.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CheckNameAvailabilityParameters class. -
Method Summary
-
Constructor Details
-
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()Creates an instance of CheckNameAvailabilityParameters class.
-
-
Method Details
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name- the name value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
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:
- the type value.
-
withType
Set the type property: Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'.- Parameters:
type- the type value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-