Struct aws_sdk_dynamodb::model::import_table_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImportTableDescription
.
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.
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.
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 table_id(self, input: impl Into<String>) -> Self
pub fn table_id(self, input: impl Into<String>) -> Self
The table id corresponding to the table created by import table process.
sourcepub fn set_table_id(self, input: Option<String>) -> Self
pub fn set_table_id(self, input: Option<String>) -> Self
The table id corresponding to the table created by import table process.
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 import task. Reusing the client token on retry makes a call to ImportTable
idempotent.
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 import task. Reusing the client token on retry makes a call to ImportTable
idempotent.
sourcepub fn s3_bucket_source(self, input: S3BucketSource) -> Self
pub fn s3_bucket_source(self, input: S3BucketSource) -> Self
Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).
sourcepub fn set_s3_bucket_source(self, input: Option<S3BucketSource>) -> Self
pub fn set_s3_bucket_source(self, input: Option<S3BucketSource>) -> Self
Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).
sourcepub fn error_count(self, input: i64) -> Self
pub fn error_count(self, input: i64) -> Self
The number of errors occurred on importing the source file into the target table.
sourcepub fn set_error_count(self, input: Option<i64>) -> Self
pub fn set_error_count(self, input: Option<i64>) -> Self
The number of errors occurred on importing the source file into the target table.
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 the target table.
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 the target table.
sourcepub fn input_format(self, input: InputFormat) -> Self
pub fn input_format(self, input: InputFormat) -> Self
The format of the source data going into the target table.
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 going into the target table.
sourcepub fn input_format_options(self, input: InputFormatOptions) -> Self
pub fn input_format_options(self, input: InputFormatOptions) -> Self
The format options for the data that was imported into the target table. There is one value, CsvOption.
sourcepub fn set_input_format_options(self, input: Option<InputFormatOptions>) -> Self
pub fn set_input_format_options(self, input: Option<InputFormatOptions>) -> Self
The format options for the data that was imported into the target table. There is one value, CsvOption.
sourcepub fn input_compression_type(self, input: InputCompressionType) -> Self
pub fn input_compression_type(self, input: InputCompressionType) -> Self
The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
sourcepub fn set_input_compression_type(
self,
input: Option<InputCompressionType>
) -> Self
pub fn set_input_compression_type(
self,
input: Option<InputCompressionType>
) -> Self
The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
sourcepub fn table_creation_parameters(self, input: TableCreationParameters) -> Self
pub fn table_creation_parameters(self, input: TableCreationParameters) -> Self
The parameters for the new table that is being imported into.
sourcepub fn set_table_creation_parameters(
self,
input: Option<TableCreationParameters>
) -> Self
pub fn set_table_creation_parameters(
self,
input: Option<TableCreationParameters>
) -> Self
The parameters for the new table that is being imported into.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time when this import task started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time when this import task started.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time at which the creation of the table associated with this import task completed.
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 creation of the table associated with this import task completed.
sourcepub fn processed_size_bytes(self, input: i64) -> Self
pub fn processed_size_bytes(self, input: i64) -> Self
The total size of data processed from the source file, in Bytes.
sourcepub fn set_processed_size_bytes(self, input: Option<i64>) -> Self
pub fn set_processed_size_bytes(self, input: Option<i64>) -> Self
The total size of data processed from the source file, in Bytes.
sourcepub fn processed_item_count(self, input: i64) -> Self
pub fn processed_item_count(self, input: i64) -> Self
The total number of items processed from the source file.
sourcepub fn set_processed_item_count(self, input: Option<i64>) -> Self
pub fn set_processed_item_count(self, input: Option<i64>) -> Self
The total number of items processed from the source file.
sourcepub fn imported_item_count(self, input: i64) -> Self
pub fn imported_item_count(self, input: i64) -> Self
The number of items successfully imported into the new table.
sourcepub fn set_imported_item_count(self, input: Option<i64>) -> Self
pub fn set_imported_item_count(self, input: Option<i64>) -> Self
The number of items successfully imported into the new table.
sourcepub fn failure_code(self, input: impl Into<String>) -> Self
pub fn failure_code(self, input: impl Into<String>) -> Self
The error code corresponding to the failure that the import job ran into during execution.
sourcepub fn set_failure_code(self, input: Option<String>) -> Self
pub fn set_failure_code(self, input: Option<String>) -> Self
The error code corresponding to the failure that the import job ran into during execution.
sourcepub fn failure_message(self, input: impl Into<String>) -> Self
pub fn failure_message(self, input: impl Into<String>) -> Self
The error message corresponding to the failure that the import job ran into during execution.
sourcepub fn set_failure_message(self, input: Option<String>) -> Self
pub fn set_failure_message(self, input: Option<String>) -> Self
The error message corresponding to the failure that the import job ran into during execution.
sourcepub fn build(self) -> ImportTableDescription
pub fn build(self) -> ImportTableDescription
Consumes the builder and constructs a ImportTableDescription
.