#[non_exhaustive]pub struct ImportTableDescriptionBuilder { /* private fields */ }
Expand description
A builder for ImportTableDescription
.
Implementations§
source§impl ImportTableDescriptionBuilder
impl ImportTableDescriptionBuilder
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 get_import_arn(&self) -> &Option<String>
pub fn get_import_arn(&self) -> &Option<String>
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 get_import_status(&self) -> &Option<ImportStatus>
pub fn get_import_status(&self) -> &Option<ImportStatus>
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 get_table_arn(&self) -> &Option<String>
pub fn get_table_arn(&self) -> &Option<String>
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 get_table_id(&self) -> &Option<String>
pub fn get_table_id(&self) -> &Option<String>
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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_s3_bucket_source(&self) -> &Option<S3BucketSource>
pub fn get_s3_bucket_source(&self) -> &Option<S3BucketSource>
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 get_error_count(&self) -> &Option<i64>
pub fn get_error_count(&self) -> &Option<i64>
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 get_cloud_watch_log_group_arn(&self) -> &Option<String>
pub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
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 get_input_format(&self) -> &Option<InputFormat>
pub fn get_input_format(&self) -> &Option<InputFormat>
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 get_input_format_options(&self) -> &Option<InputFormatOptions>
pub fn get_input_format_options(&self) -> &Option<InputFormatOptions>
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 get_input_compression_type(&self) -> &Option<InputCompressionType>
pub fn get_input_compression_type(&self) -> &Option<InputCompressionType>
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 get_table_creation_parameters(&self) -> &Option<TableCreationParameters>
pub fn get_table_creation_parameters(&self) -> &Option<TableCreationParameters>
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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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 get_processed_size_bytes(&self) -> &Option<i64>
pub fn get_processed_size_bytes(&self) -> &Option<i64>
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 get_processed_item_count(&self) -> &Option<i64>
pub fn get_processed_item_count(&self) -> &Option<i64>
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 get_imported_item_count(&self) -> &Option<i64>
pub fn get_imported_item_count(&self) -> &Option<i64>
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 get_failure_code(&self) -> &Option<String>
pub fn get_failure_code(&self) -> &Option<String>
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 get_failure_message(&self) -> &Option<String>
pub fn get_failure_message(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for ImportTableDescriptionBuilder
impl Clone for ImportTableDescriptionBuilder
source§fn clone(&self) -> ImportTableDescriptionBuilder
fn clone(&self) -> ImportTableDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ImportTableDescriptionBuilder
impl Default for ImportTableDescriptionBuilder
source§fn default() -> ImportTableDescriptionBuilder
fn default() -> ImportTableDescriptionBuilder
source§impl PartialEq for ImportTableDescriptionBuilder
impl PartialEq for ImportTableDescriptionBuilder
source§fn eq(&self, other: &ImportTableDescriptionBuilder) -> bool
fn eq(&self, other: &ImportTableDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportTableDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ImportTableDescriptionBuilder
impl RefUnwindSafe for ImportTableDescriptionBuilder
impl Send for ImportTableDescriptionBuilder
impl Sync for ImportTableDescriptionBuilder
impl Unpin for ImportTableDescriptionBuilder
impl UnwindSafe for ImportTableDescriptionBuilder
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