Struct aws_sdk_qldb::operation::get_block::builders::GetBlockOutputBuilder
source · #[non_exhaustive]pub struct GetBlockOutputBuilder { /* private fields */ }Expand description
A builder for GetBlockOutput.
Implementations§
source§impl GetBlockOutputBuilder
impl GetBlockOutputBuilder
sourcepub fn block(self, input: ValueHolder) -> Self
pub fn block(self, input: ValueHolder) -> Self
The block data object in Amazon Ion format.
This field is required.sourcepub fn set_block(self, input: Option<ValueHolder>) -> Self
pub fn set_block(self, input: Option<ValueHolder>) -> Self
The block data object in Amazon Ion format.
sourcepub fn get_block(&self) -> &Option<ValueHolder>
pub fn get_block(&self) -> &Option<ValueHolder>
The block data object in Amazon Ion format.
sourcepub fn proof(self, input: ValueHolder) -> Self
pub fn proof(self, input: ValueHolder) -> Self
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
sourcepub fn set_proof(self, input: Option<ValueHolder>) -> Self
pub fn set_proof(self, input: Option<ValueHolder>) -> Self
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
sourcepub fn get_proof(&self) -> &Option<ValueHolder>
pub fn get_proof(&self) -> &Option<ValueHolder>
The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
sourcepub fn build(self) -> GetBlockOutput
pub fn build(self) -> GetBlockOutput
Consumes the builder and constructs a GetBlockOutput.
Trait Implementations§
source§impl Clone for GetBlockOutputBuilder
impl Clone for GetBlockOutputBuilder
source§fn clone(&self) -> GetBlockOutputBuilder
fn clone(&self) -> GetBlockOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetBlockOutputBuilder
impl Debug for GetBlockOutputBuilder
source§impl Default for GetBlockOutputBuilder
impl Default for GetBlockOutputBuilder
source§fn default() -> GetBlockOutputBuilder
fn default() -> GetBlockOutputBuilder
source§impl PartialEq for GetBlockOutputBuilder
impl PartialEq for GetBlockOutputBuilder
source§fn eq(&self, other: &GetBlockOutputBuilder) -> bool
fn eq(&self, other: &GetBlockOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.