Struct aws_sdk_managedblockchainquery::operation::batch_get_token_balance::builders::BatchGetTokenBalanceFluentBuilder
source · pub struct BatchGetTokenBalanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetTokenBalance
.
Gets the token balance for a batch of tokens by using the BatchGetTokenBalance
action for every token in the request.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
Implementations§
source§impl BatchGetTokenBalanceFluentBuilder
impl BatchGetTokenBalanceFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetTokenBalanceInputBuilder
pub fn as_input(&self) -> &BatchGetTokenBalanceInputBuilder
Access the BatchGetTokenBalance as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetTokenBalanceOutput, SdkError<BatchGetTokenBalanceError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetTokenBalanceOutput, SdkError<BatchGetTokenBalanceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchGetTokenBalanceOutput, BatchGetTokenBalanceError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetTokenBalanceOutput, BatchGetTokenBalanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn get_token_balance_inputs(
self,
input: BatchGetTokenBalanceInputItem
) -> Self
pub fn get_token_balance_inputs( self, input: BatchGetTokenBalanceInputItem ) -> Self
Appends an item to getTokenBalanceInputs
.
To override the contents of this collection use set_get_token_balance_inputs
.
An array of BatchGetTokenBalanceInputItem
objects whose balance is being requested.
sourcepub fn set_get_token_balance_inputs(
self,
input: Option<Vec<BatchGetTokenBalanceInputItem>>
) -> Self
pub fn set_get_token_balance_inputs( self, input: Option<Vec<BatchGetTokenBalanceInputItem>> ) -> Self
An array of BatchGetTokenBalanceInputItem
objects whose balance is being requested.
sourcepub fn get_get_token_balance_inputs(
&self
) -> &Option<Vec<BatchGetTokenBalanceInputItem>>
pub fn get_get_token_balance_inputs( &self ) -> &Option<Vec<BatchGetTokenBalanceInputItem>>
An array of BatchGetTokenBalanceInputItem
objects whose balance is being requested.
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceFluentBuilder
impl Clone for BatchGetTokenBalanceFluentBuilder
source§fn clone(&self) -> BatchGetTokenBalanceFluentBuilder
fn clone(&self) -> BatchGetTokenBalanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more