Interface EncryptionSettings.Builder

  • Method Details

    • kmsEncryptionSettings

      EncryptionSettings.Builder kmsEncryptionSettings(KmsEncryptionSettings kmsEncryptionSettings)

      The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.

      Parameters:
      kmsEncryptionSettings - The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsEncryptionSettings

      default EncryptionSettings.Builder kmsEncryptionSettings(Consumer<KmsEncryptionSettings.Builder> kmsEncryptionSettings)

      The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context.

      This is a convenience method that creates an instance of the KmsEncryptionSettings.Builder avoiding the need to create one manually via KmsEncryptionSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kmsEncryptionSettings(KmsEncryptionSettings).

      Parameters:
      kmsEncryptionSettings - a consumer that will call methods on KmsEncryptionSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultValue

      EncryptionSettings.Builder defaultValue(Unit defaultValue)

      This is the default encryption setting. The policy store uses an Amazon Web Services owned key for encrypting data.

      Parameters:
      defaultValue - This is the default encryption setting. The policy store uses an Amazon Web Services owned key for encrypting data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

      default EncryptionSettings.Builder defaultValue(Consumer<Unit.Builder> defaultValue)

      This is the default encryption setting. The policy store uses an Amazon Web Services owned key for encrypting data.

      This is a convenience method that creates an instance of the Unit.Builder avoiding the need to create one manually via Unit.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to defaultValue(Unit).

      Parameters:
      defaultValue - a consumer that will call methods on Unit.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: