Struct aws_sdk_dynamodb::model::export_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExportDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn export_arn(self, input: impl Into<String>) -> Self
pub fn export_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the table export.
sourcepub fn set_export_arn(self, input: Option<String>) -> Self
pub fn set_export_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the table export.
sourcepub fn export_status(self, input: ExportStatus) -> Self
pub fn export_status(self, input: ExportStatus) -> Self
Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.
sourcepub fn set_export_status(self, input: Option<ExportStatus>) -> Self
pub fn set_export_status(self, input: Option<ExportStatus>) -> Self
Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time at which the export task began.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time at which the export task began.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time at which the export task completed.
sourcepub fn export_manifest(self, input: impl Into<String>) -> Self
pub fn export_manifest(self, input: impl Into<String>) -> Self
The name of the manifest file for the export task.
sourcepub fn set_export_manifest(self, input: Option<String>) -> Self
pub fn set_export_manifest(self, input: Option<String>) -> Self
The name of the manifest file for the export task.
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) of the table that was exported.
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) of the table that was exported.
sourcepub fn table_id(self, input: impl Into<String>) -> Self
pub fn table_id(self, input: impl Into<String>) -> Self
Unique ID of the table that was exported.
sourcepub fn set_table_id(self, input: Option<String>) -> Self
pub fn set_table_id(self, input: Option<String>) -> Self
Unique ID of the table that was exported.
sourcepub fn export_time(self, input: DateTime) -> Self
pub fn export_time(self, input: DateTime) -> Self
Point in time from which table data was exported.
sourcepub fn set_export_time(self, input: Option<DateTime>) -> Self
pub fn set_export_time(self, input: Option<DateTime>) -> Self
Point in time from which table data was exported.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token that was provided for the export task. A client token makes calls to ExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token that was provided for the export task. A client token makes calls to ExportTableToPointInTimeInput
idempotent, meaning that multiple identical calls have the same effect as one single call.
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 containing the export.
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 containing the export.
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 containing the export.
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 containing the export.
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 used 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 used 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 is 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 is 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 is 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 is stored (if applicable).
sourcepub fn failure_code(self, input: impl Into<String>) -> Self
pub fn failure_code(self, input: impl Into<String>) -> Self
Status code for the result of the failed export.
sourcepub fn set_failure_code(self, input: Option<String>) -> Self
pub fn set_failure_code(self, input: Option<String>) -> Self
Status code for the result of the failed export.
sourcepub fn failure_message(self, input: impl Into<String>) -> Self
pub fn failure_message(self, input: impl Into<String>) -> Self
Export failure reason description.
sourcepub fn set_failure_message(self, input: Option<String>) -> Self
pub fn set_failure_message(self, input: Option<String>) -> Self
Export failure reason description.
sourcepub fn export_format(self, input: ExportFormat) -> Self
pub fn export_format(self, input: ExportFormat) -> Self
The format of 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 of the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
sourcepub fn billed_size_bytes(self, input: i64) -> Self
pub fn billed_size_bytes(self, input: i64) -> Self
The billable size of the table export.
sourcepub fn set_billed_size_bytes(self, input: Option<i64>) -> Self
pub fn set_billed_size_bytes(self, input: Option<i64>) -> Self
The billable size of the table export.
sourcepub fn item_count(self, input: i64) -> Self
pub fn item_count(self, input: i64) -> Self
The number of items exported.
sourcepub fn set_item_count(self, input: Option<i64>) -> Self
pub fn set_item_count(self, input: Option<i64>) -> Self
The number of items exported.
sourcepub fn build(self) -> ExportDescription
pub fn build(self) -> ExportDescription
Consumes the builder and constructs a ExportDescription
.