Struct aws_sdk_managedblockchainquery::operation::batch_get_token_balance::builders::BatchGetTokenBalanceOutputBuilder
source · #[non_exhaustive]pub struct BatchGetTokenBalanceOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetTokenBalanceOutput
.
Implementations§
source§impl BatchGetTokenBalanceOutputBuilder
impl BatchGetTokenBalanceOutputBuilder
sourcepub fn token_balances(self, input: BatchGetTokenBalanceOutputItem) -> Self
pub fn token_balances(self, input: BatchGetTokenBalanceOutputItem) -> Self
Appends an item to token_balances
.
To override the contents of this collection use set_token_balances
.
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn set_token_balances(
self,
input: Option<Vec<BatchGetTokenBalanceOutputItem>>
) -> Self
pub fn set_token_balances( self, input: Option<Vec<BatchGetTokenBalanceOutputItem>> ) -> Self
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn get_token_balances(&self) -> &Option<Vec<BatchGetTokenBalanceOutputItem>>
pub fn get_token_balances(&self) -> &Option<Vec<BatchGetTokenBalanceOutputItem>>
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn errors(self, input: BatchGetTokenBalanceErrorItem) -> Self
pub fn errors(self, input: BatchGetTokenBalanceErrorItem) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn set_errors(
self,
input: Option<Vec<BatchGetTokenBalanceErrorItem>>
) -> Self
pub fn set_errors( self, input: Option<Vec<BatchGetTokenBalanceErrorItem>> ) -> Self
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchGetTokenBalanceErrorItem>>
pub fn get_errors(&self) -> &Option<Vec<BatchGetTokenBalanceErrorItem>>
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn build(self) -> Result<BatchGetTokenBalanceOutput, BuildError>
pub fn build(self) -> Result<BatchGetTokenBalanceOutput, BuildError>
Consumes the builder and constructs a BatchGetTokenBalanceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceOutputBuilder
impl Clone for BatchGetTokenBalanceOutputBuilder
source§fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetTokenBalanceOutputBuilder
impl Default for BatchGetTokenBalanceOutputBuilder
source§fn default() -> BatchGetTokenBalanceOutputBuilder
fn default() -> BatchGetTokenBalanceOutputBuilder
source§impl PartialEq for BatchGetTokenBalanceOutputBuilder
impl PartialEq for BatchGetTokenBalanceOutputBuilder
source§fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.