Struct aws_sdk_dynamodb::operation::export_table_to_point_in_time::builders::ExportTableToPointInTimeInputBuilder
source · #[non_exhaustive]pub struct ExportTableToPointInTimeInputBuilder { /* private fields */ }
Expand description
A builder for ExportTableToPointInTimeInput
.
Implementations§
source§impl ExportTableToPointInTimeInputBuilder
impl ExportTableToPointInTimeInputBuilder
sourcepub fn table_arn(self, input: impl Into<String>) -> Self
pub fn table_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) associated with the table to export.
This field is required.sourcepub fn set_table_arn(self, input: Option<String>) -> Self
pub fn set_table_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) associated with the table to export.
sourcepub fn get_table_arn(&self) -> &Option<String>
pub fn get_table_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) associated with the table to export.
sourcepub fn export_time(self, input: DateTime) -> Self
pub fn export_time(self, input: DateTime) -> Self
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.
sourcepub fn set_export_time(self, input: Option<DateTime>) -> Self
pub fn set_export_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_export_time(&self) -> &Option<DateTime>
pub fn get_export_time(&self) -> &Option<DateTime>
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.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Providing a ClientToken
makes the call to ExportTableToPointInTimeInput
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
.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Providing a ClientToken
makes the call to ExportTableToPointInTimeInput
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
.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Providing a ClientToken
makes the call to ExportTableToPointInTimeInput
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
.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket to export the snapshot to.
This field is required.sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket to export the snapshot to.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The name of the Amazon S3 bucket to export the snapshot to.
sourcepub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
pub fn s3_bucket_owner(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
sourcepub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
pub fn set_s3_bucket_owner(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
sourcepub fn get_s3_bucket_owner(&self) -> &Option<String>
pub fn get_s3_bucket_owner(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the bucket the export will be stored in.
sourcepub fn s3_prefix(self, input: impl Into<String>) -> Self
pub fn s3_prefix(self, input: impl Into<String>) -> Self
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn set_s3_prefix(self, input: Option<String>) -> Self
pub fn set_s3_prefix(self, input: Option<String>) -> Self
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn get_s3_prefix(&self) -> &Option<String>
pub fn get_s3_prefix(&self) -> &Option<String>
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn s3_sse_algorithm(self, input: S3SseAlgorithm) -> Self
pub fn s3_sse_algorithm(self, input: S3SseAlgorithm) -> Self
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
sourcepub fn set_s3_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
pub fn set_s3_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
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
sourcepub fn get_s3_sse_algorithm(&self) -> &Option<S3SseAlgorithm>
pub fn get_s3_sse_algorithm(&self) -> &Option<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
sourcepub fn s3_sse_kms_key_id(self, input: impl Into<String>) -> Self
pub fn s3_sse_kms_key_id(self, input: impl Into<String>) -> Self
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
sourcepub fn set_s3_sse_kms_key_id(self, input: Option<String>) -> Self
pub fn set_s3_sse_kms_key_id(self, input: Option<String>) -> Self
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
sourcepub fn get_s3_sse_kms_key_id(&self) -> &Option<String>
pub fn get_s3_sse_kms_key_id(&self) -> &Option<String>
The ID of the KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
sourcepub fn export_format(self, input: ExportFormat) -> Self
pub fn export_format(self, input: ExportFormat) -> Self
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn set_export_format(self, input: Option<ExportFormat>) -> Self
pub fn set_export_format(self, input: Option<ExportFormat>) -> Self
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn get_export_format(&self) -> &Option<ExportFormat>
pub fn get_export_format(&self) -> &Option<ExportFormat>
The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn export_type(self, input: ExportType) -> Self
pub fn export_type(self, input: ExportType) -> Self
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.
sourcepub fn set_export_type(self, input: Option<ExportType>) -> Self
pub fn set_export_type(self, input: Option<ExportType>) -> Self
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.
sourcepub fn get_export_type(&self) -> &Option<ExportType>
pub fn get_export_type(&self) -> &Option<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.
sourcepub fn incremental_export_specification(
self,
input: IncrementalExportSpecification
) -> Self
pub fn incremental_export_specification( self, input: IncrementalExportSpecification ) -> Self
Optional object containing the parameters specific to an incremental export.
sourcepub fn set_incremental_export_specification(
self,
input: Option<IncrementalExportSpecification>
) -> Self
pub fn set_incremental_export_specification( self, input: Option<IncrementalExportSpecification> ) -> Self
Optional object containing the parameters specific to an incremental export.
sourcepub fn get_incremental_export_specification(
&self
) -> &Option<IncrementalExportSpecification>
pub fn get_incremental_export_specification( &self ) -> &Option<IncrementalExportSpecification>
Optional object containing the parameters specific to an incremental export.
sourcepub fn build(self) -> Result<ExportTableToPointInTimeInput, BuildError>
pub fn build(self) -> Result<ExportTableToPointInTimeInput, BuildError>
Consumes the builder and constructs a ExportTableToPointInTimeInput
.
source§impl ExportTableToPointInTimeInputBuilder
impl ExportTableToPointInTimeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExportTableToPointInTimeOutput, SdkError<ExportTableToPointInTimeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExportTableToPointInTimeOutput, SdkError<ExportTableToPointInTimeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExportTableToPointInTimeInputBuilder
impl Clone for ExportTableToPointInTimeInputBuilder
source§fn clone(&self) -> ExportTableToPointInTimeInputBuilder
fn clone(&self) -> ExportTableToPointInTimeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExportTableToPointInTimeInputBuilder
impl Default for ExportTableToPointInTimeInputBuilder
source§fn default() -> ExportTableToPointInTimeInputBuilder
fn default() -> ExportTableToPointInTimeInputBuilder
source§impl PartialEq for ExportTableToPointInTimeInputBuilder
impl PartialEq for ExportTableToPointInTimeInputBuilder
source§fn eq(&self, other: &ExportTableToPointInTimeInputBuilder) -> bool
fn eq(&self, other: &ExportTableToPointInTimeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.