Struct aws_sdk_dynamodb::model::import_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImportSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn import_arn(self, input: impl Into<String>) -> Self
pub fn import_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Number (ARN) corresponding to the import request.
sourcepub fn set_import_arn(self, input: Option<String>) -> Self
pub fn set_import_arn(self, input: Option<String>) -> Self
The Amazon Resource Number (ARN) corresponding to the import request.
sourcepub fn import_status(self, input: ImportStatus) -> Self
pub fn import_status(self, input: ImportStatus) -> Self
The status of the import operation.
sourcepub fn set_import_status(self, input: Option<ImportStatus>) -> Self
pub fn set_import_status(self, input: Option<ImportStatus>) -> Self
The status of the import operation.
sourcepub fn table_arn(self, input: impl Into<String>) -> Self
pub fn table_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Number (ARN) of the table being imported into.
sourcepub fn set_table_arn(self, input: Option<String>) -> Self
pub fn set_table_arn(self, input: Option<String>) -> Self
The Amazon Resource Number (ARN) of the table being imported into.
sourcepub fn s3_bucket_source(self, input: S3BucketSource) -> Self
pub fn s3_bucket_source(self, input: S3BucketSource) -> Self
The path and S3 bucket of the source file that is being imported. This includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner (optional if the bucket is owned by the requester).
sourcepub fn set_s3_bucket_source(self, input: Option<S3BucketSource>) -> Self
pub fn set_s3_bucket_source(self, input: Option<S3BucketSource>) -> Self
The path and S3 bucket of the source file that is being imported. This includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner (optional if the bucket is owned by the requester).
sourcepub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this import task.
sourcepub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this import task.
sourcepub fn input_format(self, input: InputFormat) -> Self
pub fn input_format(self, input: InputFormat) -> Self
The format of the source data. Valid values are CSV
, DYNAMODB_JSON
or ION
.
sourcepub fn set_input_format(self, input: Option<InputFormat>) -> Self
pub fn set_input_format(self, input: Option<InputFormat>) -> Self
The format of the source data. Valid values are CSV
, DYNAMODB_JSON
or ION
.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time at which this import 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 this import task began.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time at which this import task ended. (Does this include the successful complete creation of the table it was imported to?)
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time at which this import task ended. (Does this include the successful complete creation of the table it was imported to?)
sourcepub fn build(self) -> ImportSummary
pub fn build(self) -> ImportSummary
Consumes the builder and constructs a ImportSummary
.