Class CacheEncryptionSettings

java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheEncryptionSettings

public final class CacheEncryptionSettings extends Object
Cache encryption settings.
  • Constructor Details

    • CacheEncryptionSettings

      public CacheEncryptionSettings()
  • Method Details

    • keyEncryptionKey

      public KeyVaultKeyReference keyEncryptionKey()
      Get the keyEncryptionKey property: Specifies the location of the key encryption key in Key Vault.
      Returns:
      the keyEncryptionKey value.
    • withKeyEncryptionKey

      public CacheEncryptionSettings withKeyEncryptionKey(KeyVaultKeyReference keyEncryptionKey)
      Set the keyEncryptionKey property: Specifies the location of the key encryption key in Key Vault.
      Parameters:
      keyEncryptionKey - the keyEncryptionKey value to set.
      Returns:
      the CacheEncryptionSettings object itself.
    • rotationToLatestKeyVersionEnabled

      public Boolean rotationToLatestKeyVersionEnabled()
      Get the rotationToLatestKeyVersionEnabled property: Specifies whether the service will automatically rotate to the newest version of the key in the Key Vault.
      Returns:
      the rotationToLatestKeyVersionEnabled value.
    • withRotationToLatestKeyVersionEnabled

      public CacheEncryptionSettings withRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled)
      Set the rotationToLatestKeyVersionEnabled property: Specifies whether the service will automatically rotate to the newest version of the key in the Key Vault.
      Parameters:
      rotationToLatestKeyVersionEnabled - the rotationToLatestKeyVersionEnabled value to set.
      Returns:
      the CacheEncryptionSettings object itself.
    • validate

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