Interface S3ExportConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3ExportConfiguration.Builder,
,S3ExportConfiguration> SdkBuilder<S3ExportConfiguration.Builder,
,S3ExportConfiguration> SdkPojo
- Enclosing class:
S3ExportConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon S3 bucket name in which a journal export job writes the journal contents.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.encryptionConfiguration
(S3EncryptionConfiguration encryptionConfiguration) The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theS3EncryptionConfiguration.Builder
avoiding the need to create one manually viaS3EncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(S3EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onS3EncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-