Struct aws_sdk_qldb::types::builders::LedgerSummaryBuilder
source · #[non_exhaustive]pub struct LedgerSummaryBuilder { /* private fields */ }
Expand description
A builder for LedgerSummary
.
Implementations§
source§impl LedgerSummaryBuilder
impl LedgerSummaryBuilder
sourcepub fn state(self, input: LedgerState) -> Self
pub fn state(self, input: LedgerState) -> Self
The current status of the ledger.
sourcepub fn set_state(self, input: Option<LedgerState>) -> Self
pub fn set_state(self, input: Option<LedgerState>) -> Self
The current status of the ledger.
sourcepub fn get_state(&self) -> &Option<LedgerState>
pub fn get_state(&self) -> &Option<LedgerState>
The current status of the ledger.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
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, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
sourcepub fn build(self) -> LedgerSummary
pub fn build(self) -> LedgerSummary
Consumes the builder and constructs a LedgerSummary
.
Trait Implementations§
source§impl Clone for LedgerSummaryBuilder
impl Clone for LedgerSummaryBuilder
source§fn clone(&self) -> LedgerSummaryBuilder
fn clone(&self) -> LedgerSummaryBuilder
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 LedgerSummaryBuilder
impl Debug for LedgerSummaryBuilder
source§impl Default for LedgerSummaryBuilder
impl Default for LedgerSummaryBuilder
source§fn default() -> LedgerSummaryBuilder
fn default() -> LedgerSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LedgerSummaryBuilder
impl PartialEq for LedgerSummaryBuilder
source§fn eq(&self, other: &LedgerSummaryBuilder) -> bool
fn eq(&self, other: &LedgerSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LedgerSummaryBuilder
Auto Trait Implementations§
impl Freeze for LedgerSummaryBuilder
impl RefUnwindSafe for LedgerSummaryBuilder
impl Send for LedgerSummaryBuilder
impl Sync for LedgerSummaryBuilder
impl Unpin for LedgerSummaryBuilder
impl UnwindSafe for LedgerSummaryBuilder
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.