Interface ExportTableToPointInTimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExportTableToPointInTimeRequest.Builder,
,ExportTableToPointInTimeRequest> DynamoDbRequest.Builder
,SdkBuilder<ExportTableToPointInTimeRequest.Builder,
,ExportTableToPointInTimeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExportTableToPointInTimeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Providing aClientToken
makes the call toExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.exportFormat
(String exportFormat) The format for the exported data.exportFormat
(ExportFormat exportFormat) The format for the exported data.exportTime
(Instant exportTime) Time in the past from which to export table data, counted in seconds from the start of the Unix epoch.exportType
(String exportType) Choice of whether to execute as a full export or incremental export.exportType
(ExportType exportType) Choice of whether to execute as a full export or incremental export.incrementalExportSpecification
(Consumer<IncrementalExportSpecification.Builder> incrementalExportSpecification) Optional object containing the parameters specific to an incremental export.incrementalExportSpecification
(IncrementalExportSpecification incrementalExportSpecification) Optional object containing the parameters specific to an incremental export.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the Amazon S3 bucket to export the snapshot to.s3BucketOwner
(String s3BucketOwner) The ID of the Amazon Web Services account that owns the bucket the export will be stored in.The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.s3SseAlgorithm
(String s3SseAlgorithm) Type of encryption used on the bucket where export data will be stored.s3SseAlgorithm
(S3SseAlgorithm s3SseAlgorithm) Type of encryption used on the bucket where export data will be stored.s3SseKmsKeyId
(String s3SseKmsKeyId) The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).The Amazon Resource Name (ARN) associated with the table to export.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.dynamodb.model.DynamoDbRequest.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
-
tableArn
The Amazon Resource Name (ARN) associated with the table to export.
- Parameters:
tableArn
- The Amazon Resource Name (ARN) associated with the table to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportTime
Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.
- Parameters:
exportTime
- Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Providing a
ClientToken
makes the call toExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an
ImportConflictException
.- Parameters:
clientToken
- Providing aClientToken
makes the call toExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an
ImportConflictException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
The name of the Amazon S3 bucket to export the snapshot to.
- Parameters:
s3Bucket
- The name of the Amazon S3 bucket to export the snapshot to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketOwner
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
- Parameters:
s3BucketOwner
- The ID of the Amazon Web Services account that owns the bucket the export will be stored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Prefix
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- Parameters:
s3Prefix
- The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3SseAlgorithm
Type of encryption used on the bucket where export data will be stored. Valid values for
S3SseAlgorithm
are:-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
- Parameters:
s3SseAlgorithm
- Type of encryption used on the bucket where export data will be stored. Valid values forS3SseAlgorithm
are:-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
s3SseAlgorithm
Type of encryption used on the bucket where export data will be stored. Valid values for
S3SseAlgorithm
are:-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
- Parameters:
s3SseAlgorithm
- Type of encryption used on the bucket where export data will be stored. Valid values forS3SseAlgorithm
are:-
AES256
- server-side encryption with Amazon S3 managed keys -
KMS
- server-side encryption with KMS managed keys
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
s3SseKmsKeyId
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- Parameters:
s3SseKmsKeyId
- The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportFormat
The format for the exported data. Valid values for
ExportFormat
areDYNAMODB_JSON
orION
.- Parameters:
exportFormat
- The format for the exported data. Valid values forExportFormat
areDYNAMODB_JSON
orION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportFormat
The format for the exported data. Valid values for
ExportFormat
areDYNAMODB_JSON
orION
.- Parameters:
exportFormat
- The format for the exported data. Valid values forExportFormat
areDYNAMODB_JSON
orION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportType
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
- Parameters:
exportType
- Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportType
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
- Parameters:
exportType
- Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
incrementalExportSpecification
ExportTableToPointInTimeRequest.Builder incrementalExportSpecification(IncrementalExportSpecification incrementalExportSpecification) Optional object containing the parameters specific to an incremental export.
- Parameters:
incrementalExportSpecification
- Optional object containing the parameters specific to an incremental export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incrementalExportSpecification
default ExportTableToPointInTimeRequest.Builder incrementalExportSpecification(Consumer<IncrementalExportSpecification.Builder> incrementalExportSpecification) Optional object containing the parameters specific to an incremental export.
This is a convenience method that creates an instance of theIncrementalExportSpecification.Builder
avoiding the need to create one manually viaIncrementalExportSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincrementalExportSpecification(IncrementalExportSpecification)
.- Parameters:
incrementalExportSpecification
- a consumer that will call methods onIncrementalExportSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExportTableToPointInTimeRequest.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
ExportTableToPointInTimeRequest.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.
-