Class VaultPropertiesEncryption
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.VaultPropertiesEncryption
Customer Managed Key details of the resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.Get the kekIdentity property: The details of the identity used for CMK.Get the keyVaultProperties property: The properties of the Key Vault which hosts CMK.void
validate()
Validates the instance.withInfrastructureEncryption
(InfrastructureEncryptionState infrastructureEncryption) Set the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.withKekIdentity
(CmkKekIdentity kekIdentity) Set the kekIdentity property: The details of the identity used for CMK.withKeyVaultProperties
(CmkKeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: The properties of the Key Vault which hosts CMK.
-
Constructor Details
-
VaultPropertiesEncryption
public VaultPropertiesEncryption()
-
-
Method Details
-
keyVaultProperties
Get the keyVaultProperties property: The properties of the Key Vault which hosts CMK.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: The properties of the Key Vault which hosts CMK.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the VaultPropertiesEncryption object itself.
-
kekIdentity
Get the kekIdentity property: The details of the identity used for CMK.- Returns:
- the kekIdentity value.
-
withKekIdentity
Set the kekIdentity property: The details of the identity used for CMK.- Parameters:
kekIdentity
- the kekIdentity value to set.- Returns:
- the VaultPropertiesEncryption object itself.
-
infrastructureEncryption
Get the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.- Returns:
- the infrastructureEncryption value.
-
withInfrastructureEncryption
public VaultPropertiesEncryption withInfrastructureEncryption(InfrastructureEncryptionState infrastructureEncryption) Set the infrastructureEncryption property: Enabling/Disabling the Double Encryption state.- Parameters:
infrastructureEncryption
- the infrastructureEncryption value to set.- Returns:
- the VaultPropertiesEncryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-