Interface ExportJournalToS3Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExportJournalToS3Request.Builder,ExportJournalToS3Request>,QldbRequest.Builder,SdkBuilder<ExportJournalToS3Request.Builder,ExportJournalToS3Request>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ExportJournalToS3Request
public static interface ExportJournalToS3Request.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<ExportJournalToS3Request.Builder,ExportJournalToS3Request>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportJournalToS3Request.BuilderexclusiveEndTime(Instant exclusiveEndTime)The exclusive end date and time for the range of journal contents to export.ExportJournalToS3Request.BuilderinclusiveStartTime(Instant inclusiveStartTime)The inclusive start date and time for the range of journal contents to export.ExportJournalToS3Request.Buildername(String name)The name of the ledger.ExportJournalToS3Request.BuilderoutputFormat(String outputFormat)The output format of your exported journal data.ExportJournalToS3Request.BuilderoutputFormat(OutputFormat outputFormat)The output format of your exported journal data.ExportJournalToS3Request.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ExportJournalToS3Request.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ExportJournalToS3Request.BuilderroleArn(String roleArn)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.ExportJournalToS3Request.Builders3ExportConfiguration(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 Detail
-
name
ExportJournalToS3Request.Builder name(String 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
ExportJournalToS3Request.Builder inclusiveStartTime(Instant 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
ExportJournalToS3Request.Builder exclusiveEndTime(Instant 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
ExportJournalToS3Request.Builder s3ExportConfiguration(S3ExportConfiguration 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:
s3ExportConfiguration(S3ExportConfiguration)
-
roleArn
ExportJournalToS3Request.Builder roleArn(String 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
ExportJournalToS3Request.Builder outputFormat(String 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,OutputFormat
-
outputFormat
ExportJournalToS3Request.Builder outputFormat(OutputFormat 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,OutputFormat
-
overrideConfiguration
ExportJournalToS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ExportJournalToS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-