Interface EncryptionConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>, SdkBuilder<EncryptionConfig.Builder,EncryptionConfig>, SdkPojo
Enclosing class:
EncryptionConfig

public static interface EncryptionConfig.Builder extends SdkPojo, CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
  • Method Details

    • resources

      Specifies the resources to be encrypted. The only supported value is secrets.

      Parameters:
      resources - Specifies the resources to be encrypted. The only supported value is secrets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      EncryptionConfig.Builder resources(String... resources)

      Specifies the resources to be encrypted. The only supported value is secrets.

      Parameters:
      resources - Specifies the resources to be encrypted. The only supported value is secrets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      EncryptionConfig.Builder provider(Provider provider)

      Key Management Service (KMS) key. Either the ARN or the alias can be used.

      Parameters:
      provider - Key Management Service (KMS) key. Either the ARN or the alias can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      default EncryptionConfig.Builder provider(Consumer<Provider.Builder> provider)

      Key Management Service (KMS) key. Either the ARN or the alias can be used.

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

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

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