Interface S3ExportConfiguration.Builder

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

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

    • bucket

      The Amazon S3 bucket name in which a journal export job writes the journal contents.

      The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and Limitations in the Amazon S3 Developer Guide.

      Parameters:
      bucket - The Amazon S3 bucket name in which a journal export job writes the journal contents.

      The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and Limitations in the Amazon S3 Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prefix

      The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.

      The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the Amazon S3 Developer Guide.

      The following are examples of valid Prefix values:

      • JournalExports-ForMyLedger/Testing/

      • JournalExports

      • My:Tests/

      Parameters:
      prefix - The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.

      The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the Amazon S3 Developer Guide.

      The following are examples of valid Prefix values:

      • JournalExports-ForMyLedger/Testing/

      • JournalExports

      • My:Tests/

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      S3ExportConfiguration.Builder encryptionConfiguration(S3EncryptionConfiguration encryptionConfiguration)

      The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.

      Parameters:
      encryptionConfiguration - The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default S3ExportConfiguration.Builder encryptionConfiguration(Consumer<S3EncryptionConfiguration.Builder> encryptionConfiguration)

      The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.

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

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

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