Struct aws_sdk_dynamodb::model::export_description::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ExportDescription
.
Implementations
sourceimpl 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
.
Trait Implementations
sourceimpl PartialEq<Builder> for Builder
impl PartialEq<Builder> for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more