Class RegenerateKeyParameters
java.lang.Object
com.azure.resourcemanager.communication.models.RegenerateKeyParameters
Parameters describes the request to regenerate access keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkeyType()
Get the keyType property: The keyType to regenerate.void
validate()
Validates the instance.withKeyType
(KeyType keyType) Set the keyType property: The keyType to regenerate.
-
Constructor Details
-
RegenerateKeyParameters
public RegenerateKeyParameters()
-
-
Method Details
-
keyType
Get the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).- Returns:
- the keyType value.
-
withKeyType
Set the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).- 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.
-