Struct aws_sdk_sesv2::types::builders::ImportJobSummaryBuilder
source · #[non_exhaustive]pub struct ImportJobSummaryBuilder { /* private fields */ }
Expand description
A builder for ImportJobSummary
.
Implementations§
source§impl ImportJobSummaryBuilder
impl ImportJobSummaryBuilder
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
A string that represents a job ID.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
A string that represents a job ID.
sourcepub fn import_destination(self, input: ImportDestination) -> Self
pub fn import_destination(self, input: ImportDestination) -> Self
An object that contains details about the resource destination the import job is going to target.
sourcepub fn set_import_destination(self, input: Option<ImportDestination>) -> Self
pub fn set_import_destination(self, input: Option<ImportDestination>) -> Self
An object that contains details about the resource destination the import job is going to target.
sourcepub fn get_import_destination(&self) -> &Option<ImportDestination>
pub fn get_import_destination(&self) -> &Option<ImportDestination>
An object that contains details about the resource destination the import job is going to target.
sourcepub fn job_status(self, input: JobStatus) -> Self
pub fn job_status(self, input: JobStatus) -> Self
The status of a job.
-
CREATED
– Job has just been created. -
PROCESSING
– Job is processing. -
ERROR
– An error occurred during processing. -
COMPLETED
– Job has completed processing successfully.
sourcepub fn set_job_status(self, input: Option<JobStatus>) -> Self
pub fn set_job_status(self, input: Option<JobStatus>) -> Self
The status of a job.
-
CREATED
– Job has just been created. -
PROCESSING
– Job is processing. -
ERROR
– An error occurred during processing. -
COMPLETED
– Job has completed processing successfully.
sourcepub fn get_job_status(&self) -> &Option<JobStatus>
pub fn get_job_status(&self) -> &Option<JobStatus>
The status of a job.
-
CREATED
– Job has just been created. -
PROCESSING
– Job is processing. -
ERROR
– An error occurred during processing. -
COMPLETED
– Job has completed processing successfully.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The date and time when the import job was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The date and time when the import job was created.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The date and time when the import job was created.
sourcepub fn processed_records_count(self, input: i32) -> Self
pub fn processed_records_count(self, input: i32) -> Self
The current number of records processed.
sourcepub fn set_processed_records_count(self, input: Option<i32>) -> Self
pub fn set_processed_records_count(self, input: Option<i32>) -> Self
The current number of records processed.
sourcepub fn get_processed_records_count(&self) -> &Option<i32>
pub fn get_processed_records_count(&self) -> &Option<i32>
The current number of records processed.
sourcepub fn failed_records_count(self, input: i32) -> Self
pub fn failed_records_count(self, input: i32) -> Self
The number of records that failed processing because of invalid input or other reasons.
sourcepub fn set_failed_records_count(self, input: Option<i32>) -> Self
pub fn set_failed_records_count(self, input: Option<i32>) -> Self
The number of records that failed processing because of invalid input or other reasons.
sourcepub fn get_failed_records_count(&self) -> &Option<i32>
pub fn get_failed_records_count(&self) -> &Option<i32>
The number of records that failed processing because of invalid input or other reasons.
sourcepub fn build(self) -> ImportJobSummary
pub fn build(self) -> ImportJobSummary
Consumes the builder and constructs a ImportJobSummary
.
Trait Implementations§
source§impl Clone for ImportJobSummaryBuilder
impl Clone for ImportJobSummaryBuilder
source§fn clone(&self) -> ImportJobSummaryBuilder
fn clone(&self) -> ImportJobSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportJobSummaryBuilder
impl Debug for ImportJobSummaryBuilder
source§impl Default for ImportJobSummaryBuilder
impl Default for ImportJobSummaryBuilder
source§fn default() -> ImportJobSummaryBuilder
fn default() -> ImportJobSummaryBuilder
source§impl PartialEq for ImportJobSummaryBuilder
impl PartialEq for ImportJobSummaryBuilder
source§fn eq(&self, other: &ImportJobSummaryBuilder) -> bool
fn eq(&self, other: &ImportJobSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportJobSummaryBuilder
Auto Trait Implementations§
impl Freeze for ImportJobSummaryBuilder
impl RefUnwindSafe for ImportJobSummaryBuilder
impl Send for ImportJobSummaryBuilder
impl Sync for ImportJobSummaryBuilder
impl Unpin for ImportJobSummaryBuilder
impl UnwindSafe for ImportJobSummaryBuilder
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