Class EncryptionProperties

java.lang.Object
com.azure.resourcemanager.batch.models.EncryptionProperties

public final class EncryptionProperties extends Object
Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.
  • Constructor Details

    • EncryptionProperties

      public EncryptionProperties()
      Creates an instance of EncryptionProperties class.
  • Method Details

    • keySource

      public KeySource keySource()
      Get the keySource property: Type of the key source.
      Returns:
      the keySource value.
    • withKeySource

      public EncryptionProperties withKeySource(KeySource keySource)
      Set the keySource property: Type of the key source.
      Parameters:
      keySource - the keySource value to set.
      Returns:
      the EncryptionProperties object itself.
    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: Additional details when using Microsoft.KeyVault.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set the keyVaultProperties property: Additional details when using Microsoft.KeyVault.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set.
      Returns:
      the EncryptionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.