Interface EncryptionState.Builder

  • Method Details

    • kmsEncryptionState

      EncryptionState.Builder kmsEncryptionState(KmsEncryptionState kmsEncryptionState)

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

      Parameters:
      kmsEncryptionState - The KMS encryption settings currently configured for this policy store to encrypt data with. It contains 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.
    • kmsEncryptionState

      default EncryptionState.Builder kmsEncryptionState(Consumer<KmsEncryptionState.Builder> kmsEncryptionState)

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

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

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

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

      EncryptionState.Builder defaultValue(Unit defaultValue)

      Policy store data is encrypted using AWS owned encryption keys.

      Parameters:
      defaultValue - Policy store data is encrypted using AWS owned encryption keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

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

      Policy store data is encrypted using AWS owned encryption keys.

      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: