Class BatchAccountRegenerateKeyParameters
java.lang.Object
com.azure.resourcemanager.batch.models.BatchAccountRegenerateKeyParameters
Parameters supplied to the RegenerateKey operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BatchAccountRegenerateKeyParameters class. -
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: The type of account key to regenerate.void
validate()
Validates the instance.withKeyName
(AccountKeyType keyName) Set the keyName property: The type of account key to regenerate.
-
Constructor Details
-
BatchAccountRegenerateKeyParameters
public BatchAccountRegenerateKeyParameters()Creates an instance of BatchAccountRegenerateKeyParameters class.
-
-
Method Details
-
keyName
Get the keyName property: The type of account key to regenerate.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The type of account key to regenerate.- Parameters:
keyName
- the keyName value to set.- Returns:
- the BatchAccountRegenerateKeyParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-