Struct aws_sdk_migrationhubstrategy::operation::get_import_file_task::builders::GetImportFileTaskOutputBuilder
source · #[non_exhaustive]pub struct GetImportFileTaskOutputBuilder { /* private fields */ }
Expand description
A builder for GetImportFileTaskOutput
.
Implementations§
source§impl GetImportFileTaskOutputBuilder
impl GetImportFileTaskOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The import file task id
returned in the response of StartImportFileTask
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The import file task id
returned in the response of StartImportFileTask
.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The import file task id
returned in the response of StartImportFileTask
.
sourcepub fn status(self, input: ImportFileTaskStatus) -> Self
pub fn status(self, input: ImportFileTaskStatus) -> Self
Status of import file task.
sourcepub fn set_status(self, input: Option<ImportFileTaskStatus>) -> Self
pub fn set_status(self, input: Option<ImportFileTaskStatus>) -> Self
Status of import file task.
sourcepub fn get_status(&self) -> &Option<ImportFileTaskStatus>
pub fn get_status(&self) -> &Option<ImportFileTaskStatus>
Status of import file task.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
Start time of the import task.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
Start time of the import task.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
Start time of the import task.
sourcepub fn input_s3_bucket(self, input: impl Into<String>) -> Self
pub fn input_s3_bucket(self, input: impl Into<String>) -> Self
The S3 bucket where import file is located.
sourcepub fn set_input_s3_bucket(self, input: Option<String>) -> Self
pub fn set_input_s3_bucket(self, input: Option<String>) -> Self
The S3 bucket where import file is located.
sourcepub fn get_input_s3_bucket(&self) -> &Option<String>
pub fn get_input_s3_bucket(&self) -> &Option<String>
The S3 bucket where import file is located.
sourcepub fn input_s3_key(self, input: impl Into<String>) -> Self
pub fn input_s3_key(self, input: impl Into<String>) -> Self
The Amazon S3 key name of the import file.
sourcepub fn set_input_s3_key(self, input: Option<String>) -> Self
pub fn set_input_s3_key(self, input: Option<String>) -> Self
The Amazon S3 key name of the import file.
sourcepub fn get_input_s3_key(&self) -> &Option<String>
pub fn get_input_s3_key(&self) -> &Option<String>
The Amazon S3 key name of the import file.
sourcepub fn status_report_s3_bucket(self, input: impl Into<String>) -> Self
pub fn status_report_s3_bucket(self, input: impl Into<String>) -> Self
The S3 bucket name for status report of import task.
sourcepub fn set_status_report_s3_bucket(self, input: Option<String>) -> Self
pub fn set_status_report_s3_bucket(self, input: Option<String>) -> Self
The S3 bucket name for status report of import task.
sourcepub fn get_status_report_s3_bucket(&self) -> &Option<String>
pub fn get_status_report_s3_bucket(&self) -> &Option<String>
The S3 bucket name for status report of import task.
sourcepub fn status_report_s3_key(self, input: impl Into<String>) -> Self
pub fn status_report_s3_key(self, input: impl Into<String>) -> Self
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
sourcepub fn set_status_report_s3_key(self, input: Option<String>) -> Self
pub fn set_status_report_s3_key(self, input: Option<String>) -> Self
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
sourcepub fn get_status_report_s3_key(&self) -> &Option<String>
pub fn get_status_report_s3_key(&self) -> &Option<String>
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
The time that the import task completed.
sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
The time that the import task completed.
sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
The time that the import task completed.
sourcepub fn number_of_records_success(self, input: i32) -> Self
pub fn number_of_records_success(self, input: i32) -> Self
The number of records successfully imported.
sourcepub fn set_number_of_records_success(self, input: Option<i32>) -> Self
pub fn set_number_of_records_success(self, input: Option<i32>) -> Self
The number of records successfully imported.
sourcepub fn get_number_of_records_success(&self) -> &Option<i32>
pub fn get_number_of_records_success(&self) -> &Option<i32>
The number of records successfully imported.
sourcepub fn number_of_records_failed(self, input: i32) -> Self
pub fn number_of_records_failed(self, input: i32) -> Self
The number of records that failed to be imported.
sourcepub fn set_number_of_records_failed(self, input: Option<i32>) -> Self
pub fn set_number_of_records_failed(self, input: Option<i32>) -> Self
The number of records that failed to be imported.
sourcepub fn get_number_of_records_failed(&self) -> &Option<i32>
pub fn get_number_of_records_failed(&self) -> &Option<i32>
The number of records that failed to be imported.
sourcepub fn import_name(self, input: impl Into<String>) -> Self
pub fn import_name(self, input: impl Into<String>) -> Self
The name of the import task given in StartImportFileTask
.
sourcepub fn set_import_name(self, input: Option<String>) -> Self
pub fn set_import_name(self, input: Option<String>) -> Self
The name of the import task given in StartImportFileTask
.
sourcepub fn get_import_name(&self) -> &Option<String>
pub fn get_import_name(&self) -> &Option<String>
The name of the import task given in StartImportFileTask
.
sourcepub fn build(self) -> GetImportFileTaskOutput
pub fn build(self) -> GetImportFileTaskOutput
Consumes the builder and constructs a GetImportFileTaskOutput
.
Trait Implementations§
source§impl Clone for GetImportFileTaskOutputBuilder
impl Clone for GetImportFileTaskOutputBuilder
source§fn clone(&self) -> GetImportFileTaskOutputBuilder
fn clone(&self) -> GetImportFileTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetImportFileTaskOutputBuilder
impl Default for GetImportFileTaskOutputBuilder
source§fn default() -> GetImportFileTaskOutputBuilder
fn default() -> GetImportFileTaskOutputBuilder
source§impl PartialEq for GetImportFileTaskOutputBuilder
impl PartialEq for GetImportFileTaskOutputBuilder
source§fn eq(&self, other: &GetImportFileTaskOutputBuilder) -> bool
fn eq(&self, other: &GetImportFileTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetImportFileTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for GetImportFileTaskOutputBuilder
impl RefUnwindSafe for GetImportFileTaskOutputBuilder
impl Send for GetImportFileTaskOutputBuilder
impl Sync for GetImportFileTaskOutputBuilder
impl Unpin for GetImportFileTaskOutputBuilder
impl UnwindSafe for GetImportFileTaskOutputBuilder
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> 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