Class AccountEncryption
java.lang.Object
com.azure.resourcemanager.netapp.models.AccountEncryption
Encryption settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity used to authenticate to KeyVault.Get the keySource property: The encryption keySource (provider).Get the keyVaultProperties property: Properties provided by KeVault.void
validate()
Validates the instance.withIdentity
(EncryptionIdentity identity) Set the identity property: Identity used to authenticate to KeyVault.withKeySource
(KeySource keySource) Set the keySource property: The encryption keySource (provider).withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: Properties provided by KeVault.
-
Constructor Details
-
AccountEncryption
public AccountEncryption()
-
-
Method Details
-
keySource
Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.- Returns:
- the keySource value.
-
withKeySource
Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.- Parameters:
keySource
- the keySource value to set.- Returns:
- the AccountEncryption object itself.
-
keyVaultProperties
Get the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the AccountEncryption object itself.
-
identity
Get the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.- Parameters:
identity
- the identity value to set.- Returns:
- the AccountEncryption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-