Struct aws_sdk_managedblockchainquery::operation::list_token_balances::builders::ListTokenBalancesInputBuilder
source · #[non_exhaustive]pub struct ListTokenBalancesInputBuilder { /* private fields */ }
Expand description
A builder for ListTokenBalancesInput
.
Implementations§
source§impl ListTokenBalancesInputBuilder
impl ListTokenBalancesInputBuilder
sourcepub fn owner_filter(self, input: OwnerFilter) -> Self
pub fn owner_filter(self, input: OwnerFilter) -> Self
The contract or wallet address on the blockchain network by which to filter the request. You must specify the address
property of the ownerFilter
when listing balances of tokens owned by the address.
sourcepub fn set_owner_filter(self, input: Option<OwnerFilter>) -> Self
pub fn set_owner_filter(self, input: Option<OwnerFilter>) -> Self
The contract or wallet address on the blockchain network by which to filter the request. You must specify the address
property of the ownerFilter
when listing balances of tokens owned by the address.
sourcepub fn get_owner_filter(&self) -> &Option<OwnerFilter>
pub fn get_owner_filter(&self) -> &Option<OwnerFilter>
The contract or wallet address on the blockchain network by which to filter the request. You must specify the address
property of the ownerFilter
when listing balances of tokens owned by the address.
sourcepub fn token_filter(self, input: TokenFilter) -> Self
pub fn token_filter(self, input: TokenFilter) -> Self
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
sourcepub fn set_token_filter(self, input: Option<TokenFilter>) -> Self
pub fn set_token_filter(self, input: Option<TokenFilter>) -> Self
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
sourcepub fn get_token_filter(&self) -> &Option<TokenFilter>
pub fn get_token_filter(&self) -> &Option<TokenFilter>
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token that indicates the next set of results to retrieve.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of token balances to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of token balances to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of token balances to return.
sourcepub fn build(self) -> Result<ListTokenBalancesInput, BuildError>
pub fn build(self) -> Result<ListTokenBalancesInput, BuildError>
Consumes the builder and constructs a ListTokenBalancesInput
.
source§impl ListTokenBalancesInputBuilder
impl ListTokenBalancesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTokenBalancesOutput, SdkError<ListTokenBalancesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTokenBalancesOutput, SdkError<ListTokenBalancesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTokenBalancesInputBuilder
impl Clone for ListTokenBalancesInputBuilder
source§fn clone(&self) -> ListTokenBalancesInputBuilder
fn clone(&self) -> ListTokenBalancesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTokenBalancesInputBuilder
impl Default for ListTokenBalancesInputBuilder
source§fn default() -> ListTokenBalancesInputBuilder
fn default() -> ListTokenBalancesInputBuilder
source§impl PartialEq for ListTokenBalancesInputBuilder
impl PartialEq for ListTokenBalancesInputBuilder
source§fn eq(&self, other: &ListTokenBalancesInputBuilder) -> bool
fn eq(&self, other: &ListTokenBalancesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.