Struct aws_sdk_translate::types::builders::JobDetailsBuilder
source · #[non_exhaustive]pub struct JobDetailsBuilder { /* private fields */ }Expand description
A builder for JobDetails.
Implementations§
source§impl JobDetailsBuilder
impl JobDetailsBuilder
sourcepub fn translated_documents_count(self, input: i32) -> Self
pub fn translated_documents_count(self, input: i32) -> Self
The number of documents successfully processed during a translation job.
sourcepub fn set_translated_documents_count(self, input: Option<i32>) -> Self
pub fn set_translated_documents_count(self, input: Option<i32>) -> Self
The number of documents successfully processed during a translation job.
sourcepub fn get_translated_documents_count(&self) -> &Option<i32>
pub fn get_translated_documents_count(&self) -> &Option<i32>
The number of documents successfully processed during a translation job.
sourcepub fn documents_with_errors_count(self, input: i32) -> Self
pub fn documents_with_errors_count(self, input: i32) -> Self
The number of documents that could not be processed during a translation job.
sourcepub fn set_documents_with_errors_count(self, input: Option<i32>) -> Self
pub fn set_documents_with_errors_count(self, input: Option<i32>) -> Self
The number of documents that could not be processed during a translation job.
sourcepub fn get_documents_with_errors_count(&self) -> &Option<i32>
pub fn get_documents_with_errors_count(&self) -> &Option<i32>
The number of documents that could not be processed during a translation job.
sourcepub fn input_documents_count(self, input: i32) -> Self
pub fn input_documents_count(self, input: i32) -> Self
The number of documents used as input in a translation job.
sourcepub fn set_input_documents_count(self, input: Option<i32>) -> Self
pub fn set_input_documents_count(self, input: Option<i32>) -> Self
The number of documents used as input in a translation job.
sourcepub fn get_input_documents_count(&self) -> &Option<i32>
pub fn get_input_documents_count(&self) -> &Option<i32>
The number of documents used as input in a translation job.
sourcepub fn build(self) -> JobDetails
pub fn build(self) -> JobDetails
Consumes the builder and constructs a JobDetails.
Trait Implementations§
source§impl Clone for JobDetailsBuilder
impl Clone for JobDetailsBuilder
source§fn clone(&self) -> JobDetailsBuilder
fn clone(&self) -> JobDetailsBuilder
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 JobDetailsBuilder
impl Debug for JobDetailsBuilder
source§impl Default for JobDetailsBuilder
impl Default for JobDetailsBuilder
source§fn default() -> JobDetailsBuilder
fn default() -> JobDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for JobDetailsBuilder
impl PartialEq for JobDetailsBuilder
source§fn eq(&self, other: &JobDetailsBuilder) -> bool
fn eq(&self, other: &JobDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JobDetailsBuilder
Auto Trait Implementations§
impl Freeze for JobDetailsBuilder
impl RefUnwindSafe for JobDetailsBuilder
impl Send for JobDetailsBuilder
impl Sync for JobDetailsBuilder
impl Unpin for JobDetailsBuilder
impl UnwindSafe for JobDetailsBuilder
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.