Class RegenerateKeyParameters
- java.lang.Object
-
- com.azure.resourcemanager.redisenterprise.models.RegenerateKeyParameters
-
public final class RegenerateKeyParameters extends Object
Regenerate access keys request Specifies which access keys to reset to a new random value.
-
-
Constructor Summary
Constructors Constructor Description RegenerateKeyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessKeyType
keyType()
Get the keyType property: Which access key to regenerate.void
validate()
Validates the instance.RegenerateKeyParameters
withKeyType(AccessKeyType keyType)
Set the keyType property: Which access key to regenerate.
-
-
-
Method Detail
-
keyType
public AccessKeyType keyType()
Get the keyType property: Which access key to regenerate.- Returns:
- the keyType value.
-
withKeyType
public RegenerateKeyParameters withKeyType(AccessKeyType keyType)
Set the keyType property: Which access key to regenerate.- Parameters:
keyType
- the keyType value to set.- Returns:
- the RegenerateKeyParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-