#[non_exhaustive]pub struct GenerationSummaryBuilder { /* private fields */ }Expand description
A builder for GenerationSummary.
Implementations§
source§impl GenerationSummaryBuilder
impl GenerationSummaryBuilder
sourcepub fn generation_id(self, input: impl Into<String>) -> Self
pub fn generation_id(self, input: impl Into<String>) -> Self
The unique identifier of the generation request.
sourcepub fn set_generation_id(self, input: Option<String>) -> Self
pub fn set_generation_id(self, input: Option<String>) -> Self
The unique identifier of the generation request.
sourcepub fn get_generation_id(&self) -> &Option<String>
pub fn get_generation_id(&self) -> &Option<String>
The unique identifier of the generation request.
sourcepub fn generation_status(self, input: GenerationStatus) -> Self
pub fn generation_status(self, input: GenerationStatus) -> Self
The status of the generation request.
sourcepub fn set_generation_status(self, input: Option<GenerationStatus>) -> Self
pub fn set_generation_status(self, input: Option<GenerationStatus>) -> Self
The status of the generation request.
sourcepub fn get_generation_status(&self) -> &Option<GenerationStatus>
pub fn get_generation_status(&self) -> &Option<GenerationStatus>
The status of the generation request.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time at which the generation request was made.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the generation request was made.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time at which the generation request was made.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time at which the generation request was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the generation request was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time at which the generation request was last updated.
sourcepub fn build(self) -> GenerationSummary
pub fn build(self) -> GenerationSummary
Consumes the builder and constructs a GenerationSummary.
Trait Implementations§
source§impl Clone for GenerationSummaryBuilder
impl Clone for GenerationSummaryBuilder
source§fn clone(&self) -> GenerationSummaryBuilder
fn clone(&self) -> GenerationSummaryBuilder
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 GenerationSummaryBuilder
impl Debug for GenerationSummaryBuilder
source§impl Default for GenerationSummaryBuilder
impl Default for GenerationSummaryBuilder
source§fn default() -> GenerationSummaryBuilder
fn default() -> GenerationSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GenerationSummaryBuilder
impl PartialEq for GenerationSummaryBuilder
source§fn eq(&self, other: &GenerationSummaryBuilder) -> bool
fn eq(&self, other: &GenerationSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GenerationSummaryBuilder
Auto Trait Implementations§
impl Freeze for GenerationSummaryBuilder
impl RefUnwindSafe for GenerationSummaryBuilder
impl Send for GenerationSummaryBuilder
impl Sync for GenerationSummaryBuilder
impl Unpin for GenerationSummaryBuilder
impl UnwindSafe for GenerationSummaryBuilder
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>
Creates a shared type from an unshared type.