Class RedisRegenerateKeyParameters
java.lang.Object
com.azure.resourcemanager.redis.models.RedisRegenerateKeyParameters
Specifies which Redis access keys to reset.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RedisRegenerateKeyParameters class. -
Method Summary
Modifier and TypeMethodDescriptionkeyType()Get the keyType property: The Redis access key to regenerate.voidvalidate()Validates the instance.withKeyType(RedisKeyType keyType) Set the keyType property: The Redis access key to regenerate.
-
Constructor Details
-
RedisRegenerateKeyParameters
public RedisRegenerateKeyParameters()Creates an instance of RedisRegenerateKeyParameters class.
-
-
Method Details
-
keyType
Get the keyType property: The Redis access key to regenerate.- Returns:
- the keyType value.
-
withKeyType
Set the keyType property: The Redis access key to regenerate.- Parameters:
keyType- the keyType value to set.- Returns:
- the RedisRegenerateKeyParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-