Interface EncryptionConfiguration.Builder

    • Method Detail

      • encrypted

        EncryptionConfiguration.Builder encrypted​(Boolean encrypted)

        To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.

        Parameters:
        encrypted - To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cmkArn

        EncryptionConfiguration.Builder cmkArn​(String cmkArn)

        The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.

        Parameters:
        cmkArn - The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.