Struct aws_sdk_dynamodb::types::builders::ExportDescriptionBuilder
source · #[non_exhaustive]pub struct ExportDescriptionBuilder { /* private fields */ }
Expand description
A builder for ExportDescription
.
Implementations§
source§impl ExportDescriptionBuilder
impl ExportDescriptionBuilder
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 get_export_arn(&self) -> &Option<String>
pub fn get_export_arn(&self) -> &Option<String>
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 get_export_status(&self) -> &Option<ExportStatus>
pub fn get_export_status(&self) -> &Option<ExportStatus>
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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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 get_export_manifest(&self) -> &Option<String>
pub fn get_export_manifest(&self) -> &Option<String>
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 get_table_arn(&self) -> &Option<String>
pub fn get_table_arn(&self) -> &Option<String>
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 get_table_id(&self) -> &Option<String>
pub fn get_table_id(&self) -> &Option<String>
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 get_export_time(&self) -> &Option<DateTime>
pub fn get_export_time(&self) -> &Option<DateTime>
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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
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 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 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 get_s3_prefix(&self) -> &Option<String>
pub fn get_s3_prefix(&self) -> &Option<String>
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 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 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 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 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 get_failure_code(&self) -> &Option<String>
pub fn get_failure_code(&self) -> &Option<String>
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 get_failure_message(&self) -> &Option<String>
pub fn get_failure_message(&self) -> &Option<String>
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 get_export_format(&self) -> &Option<ExportFormat>
pub fn get_export_format(&self) -> &Option<ExportFormat>
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 get_billed_size_bytes(&self) -> &Option<i64>
pub fn get_billed_size_bytes(&self) -> &Option<i64>
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 get_item_count(&self) -> &Option<i64>
pub fn get_item_count(&self) -> &Option<i64>
The number of items exported.
sourcepub fn export_type(self, input: ExportType) -> Self
pub fn export_type(self, input: ExportType) -> Self
The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
sourcepub fn set_export_type(self, input: Option<ExportType>) -> Self
pub fn set_export_type(self, input: Option<ExportType>) -> Self
The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
sourcepub fn get_export_type(&self) -> &Option<ExportType>
pub fn get_export_type(&self) -> &Option<ExportType>
The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
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) -> ExportDescription
pub fn build(self) -> ExportDescription
Consumes the builder and constructs a ExportDescription
.
Trait Implementations§
source§impl Clone for ExportDescriptionBuilder
impl Clone for ExportDescriptionBuilder
source§fn clone(&self) -> ExportDescriptionBuilder
fn clone(&self) -> ExportDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportDescriptionBuilder
impl Debug for ExportDescriptionBuilder
source§impl Default for ExportDescriptionBuilder
impl Default for ExportDescriptionBuilder
source§fn default() -> ExportDescriptionBuilder
fn default() -> ExportDescriptionBuilder
source§impl PartialEq for ExportDescriptionBuilder
impl PartialEq for ExportDescriptionBuilder
source§fn eq(&self, other: &ExportDescriptionBuilder) -> bool
fn eq(&self, other: &ExportDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ExportDescriptionBuilder
impl RefUnwindSafe for ExportDescriptionBuilder
impl Send for ExportDescriptionBuilder
impl Sync for ExportDescriptionBuilder
impl Unpin for ExportDescriptionBuilder
impl UnwindSafe for ExportDescriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more