Class Encryption
java.lang.Object
com.azure.resourcemanager.avs.models.Encryption
The properties of customer managed encryption key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the keyVaultProperties property: The key vault where the encryption key is stored.status()
Get the status property: Status of customer managed encryption key.void
validate()
Validates the instance.withKeyVaultProperties
(EncryptionKeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: The key vault where the encryption key is stored.withStatus
(EncryptionState status) Set the status property: Status of customer managed encryption key.
-
Constructor Details
-
Encryption
public Encryption()Creates an instance of Encryption class.
-
-
Method Details
-
status
Get the status property: Status of customer managed encryption key.- Returns:
- the status value.
-
withStatus
Set the status property: Status of customer managed encryption key.- Parameters:
status
- the status value to set.- Returns:
- the Encryption object itself.
-
keyVaultProperties
Get the keyVaultProperties property: The key vault where the encryption key is stored.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: The key vault where the encryption key is stored.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the Encryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-