Struct aws_sdk_entityresolution::types::builders::JobSummaryBuilder
source · #[non_exhaustive]pub struct JobSummaryBuilder { /* private fields */ }
Expand description
A builder for JobSummary
.
Implementations§
source§impl JobSummaryBuilder
impl JobSummaryBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID of the job.
This field is required.sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID of the job.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of the job.
sourcepub fn status(self, input: JobStatus) -> Self
pub fn status(self, input: JobStatus) -> Self
The current status of the job.
This field is required.sourcepub fn set_status(self, input: Option<JobStatus>) -> Self
pub fn set_status(self, input: Option<JobStatus>) -> Self
The current status of the job.
sourcepub fn get_status(&self) -> &Option<JobStatus>
pub fn get_status(&self) -> &Option<JobStatus>
The current status of the job.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time at which the job was started.
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time at which the job was started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time at which the job was started.
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 job has finished.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time at which the job has finished.
sourcepub fn build(self) -> Result<JobSummary, BuildError>
pub fn build(self) -> Result<JobSummary, BuildError>
Consumes the builder and constructs a JobSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JobSummaryBuilder
impl Clone for JobSummaryBuilder
source§fn clone(&self) -> JobSummaryBuilder
fn clone(&self) -> JobSummaryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JobSummaryBuilder
impl Debug for JobSummaryBuilder
source§impl Default for JobSummaryBuilder
impl Default for JobSummaryBuilder
source§fn default() -> JobSummaryBuilder
fn default() -> JobSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for JobSummaryBuilder
impl PartialEq for JobSummaryBuilder
source§fn eq(&self, other: &JobSummaryBuilder) -> bool
fn eq(&self, other: &JobSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobSummaryBuilder
Auto Trait Implementations§
impl Freeze for JobSummaryBuilder
impl RefUnwindSafe for JobSummaryBuilder
impl Send for JobSummaryBuilder
impl Sync for JobSummaryBuilder
impl Unpin for JobSummaryBuilder
impl UnwindSafe for JobSummaryBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.