Struct aws_sdk_qldb::operation::get_digest::builders::GetDigestOutputBuilder
source · #[non_exhaustive]pub struct GetDigestOutputBuilder { /* private fields */ }
Expand description
A builder for GetDigestOutput
.
Implementations§
source§impl GetDigestOutputBuilder
impl GetDigestOutputBuilder
sourcepub fn digest(self, input: Blob) -> Self
pub fn digest(self, input: Blob) -> Self
The 256-bit hash value representing the digest returned by a GetDigest
request.
sourcepub fn set_digest(self, input: Option<Blob>) -> Self
pub fn set_digest(self, input: Option<Blob>) -> Self
The 256-bit hash value representing the digest returned by a GetDigest
request.
sourcepub fn get_digest(&self) -> &Option<Blob>
pub fn get_digest(&self) -> &Option<Blob>
The 256-bit hash value representing the digest returned by a GetDigest
request.
sourcepub fn digest_tip_address(self, input: ValueHolder) -> Self
pub fn digest_tip_address(self, input: ValueHolder) -> Self
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
sourcepub fn set_digest_tip_address(self, input: Option<ValueHolder>) -> Self
pub fn set_digest_tip_address(self, input: Option<ValueHolder>) -> Self
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
sourcepub fn get_digest_tip_address(&self) -> &Option<ValueHolder>
pub fn get_digest_tip_address(&self) -> &Option<ValueHolder>
The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
sourcepub fn build(self) -> Result<GetDigestOutput, BuildError>
pub fn build(self) -> Result<GetDigestOutput, BuildError>
Consumes the builder and constructs a GetDigestOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDigestOutputBuilder
impl Clone for GetDigestOutputBuilder
source§fn clone(&self) -> GetDigestOutputBuilder
fn clone(&self) -> GetDigestOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDigestOutputBuilder
impl Debug for GetDigestOutputBuilder
source§impl Default for GetDigestOutputBuilder
impl Default for GetDigestOutputBuilder
source§fn default() -> GetDigestOutputBuilder
fn default() -> GetDigestOutputBuilder
source§impl PartialEq for GetDigestOutputBuilder
impl PartialEq for GetDigestOutputBuilder
source§fn eq(&self, other: &GetDigestOutputBuilder) -> bool
fn eq(&self, other: &GetDigestOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDigestOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDigestOutputBuilder
impl RefUnwindSafe for GetDigestOutputBuilder
impl Send for GetDigestOutputBuilder
impl Sync for GetDigestOutputBuilder
impl Unpin for GetDigestOutputBuilder
impl UnwindSafe for GetDigestOutputBuilder
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