Interface ExportJournalToS3Request.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExportJournalToS3Request.Builder,
,ExportJournalToS3Request> QldbRequest.Builder
,SdkBuilder<ExportJournalToS3Request.Builder,
,ExportJournalToS3Request> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExportJournalToS3Request
-
Method Summary
Modifier and TypeMethodDescriptionexclusiveEndTime
(Instant exclusiveEndTime) The exclusive end date and time for the range of journal contents to export.inclusiveStartTime
(Instant inclusiveStartTime) The inclusive start date and time for the range of journal contents to export.The name of the ledger.outputFormat
(String outputFormat) The output format of your exported journal data.outputFormat
(OutputFormat outputFormat) The output format of your exported journal data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:default ExportJournalToS3Request.Builder
s3ExportConfiguration
(Consumer<S3ExportConfiguration.Builder> s3ExportConfiguration) The configuration settings of the Amazon S3 bucket destination for your export request.s3ExportConfiguration
(S3ExportConfiguration s3ExportConfiguration) The configuration settings of the Amazon S3 bucket destination for your export request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qldb.model.QldbRequest.Builder
build
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
-
name
The name of the ledger.
- Parameters:
name
- The name of the ledger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusiveStartTime
The inclusive start date and time for the range of journal contents to export.
The
InclusiveStartTime
must be inISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z
.The
InclusiveStartTime
must be beforeExclusiveEndTime
.If you provide an
InclusiveStartTime
that is before the ledger'sCreationDateTime
, Amazon QLDB defaults it to the ledger'sCreationDateTime
.- Parameters:
inclusiveStartTime
- The inclusive start date and time for the range of journal contents to export.The
InclusiveStartTime
must be inISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z
.The
InclusiveStartTime
must be beforeExclusiveEndTime
.If you provide an
InclusiveStartTime
that is before the ledger'sCreationDateTime
, Amazon QLDB defaults it to the ledger'sCreationDateTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusiveEndTime
The exclusive end date and time for the range of journal contents to export.
The
ExclusiveEndTime
must be inISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z
.The
ExclusiveEndTime
must be less than or equal to the current UTC date and time.- Parameters:
exclusiveEndTime
- The exclusive end date and time for the range of journal contents to export.The
ExclusiveEndTime
must be inISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z
.The
ExclusiveEndTime
must be less than or equal to the current UTC date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ExportConfiguration
The configuration settings of the Amazon S3 bucket destination for your export request.
- Parameters:
s3ExportConfiguration
- The configuration settings of the Amazon S3 bucket destination for your export request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ExportConfiguration
default ExportJournalToS3Request.Builder s3ExportConfiguration(Consumer<S3ExportConfiguration.Builder> s3ExportConfiguration) The configuration settings of the Amazon S3 bucket destination for your export request.
This is a convenience method that creates an instance of theS3ExportConfiguration.Builder
avoiding the need to create one manually viaS3ExportConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3ExportConfiguration(S3ExportConfiguration)
.- Parameters:
s3ExportConfiguration
- a consumer that will call methods onS3ExportConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon S3 bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal export requests.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:-
Write objects into your Amazon S3 bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal export requests.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
outputFormat
The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- Parameters:
outputFormat
- The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.Default:
ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormat
The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default:
ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- Parameters:
outputFormat
- The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.Default:
ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExportJournalToS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExportJournalToS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-