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.Builders3ExportConfiguration(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qldb.model.QldbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
InclusiveStartTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimemust be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat 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
InclusiveStartTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimemust be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat 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
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
ExclusiveEndTimemust 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
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
ExclusiveEndTimemust 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.Builderavoiding the need to create one manually viaS3ExportConfiguration.builder().When the
Consumercompletes,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:PassRoleaction 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:PassRoleaction 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_TEXTIn 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_TEXTIn 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_TEXTIn 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_TEXTIn 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-