Class AccountEncryption

java.lang.Object
com.azure.resourcemanager.netapp.models.AccountEncryption

public final class AccountEncryption extends Object
Encryption settings.
  • Constructor Details

    • AccountEncryption

      public AccountEncryption()
  • Method Details

    • keySource

      public KeySource keySource()
      Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
      Returns:
      the keySource value.
    • withKeySource

      public AccountEncryption withKeySource(KeySource keySource)
      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

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      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

      public EncryptionIdentity identity()
      Get the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
      Returns:
      the identity value.
    • withIdentity

      public AccountEncryption withIdentity(EncryptionIdentity identity)
      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.