Class VaultPropertiesEncryption

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.VaultPropertiesEncryption

public final class VaultPropertiesEncryption extends Object
Customer Managed Key details of the resource.
  • Constructor Details

    • VaultPropertiesEncryption

      public VaultPropertiesEncryption()
  • Method Details

    • keyVaultProperties

      public CmkKeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: The properties of the Key Vault which hosts CMK.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public VaultPropertiesEncryption withKeyVaultProperties(CmkKeyVaultProperties keyVaultProperties)
      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

      public CmkKekIdentity kekIdentity()
      Get the kekIdentity property: The details of the identity used for CMK.
      Returns:
      the kekIdentity value.
    • withKekIdentity

      public VaultPropertiesEncryption withKekIdentity(CmkKekIdentity kekIdentity)
      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

      public InfrastructureEncryptionState 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.