Struct aws_sdk_managedblockchainquery::operation::get_token_balance::builders::GetTokenBalanceInputBuilder
source · #[non_exhaustive]pub struct GetTokenBalanceInputBuilder { /* private fields */ }
Expand description
A builder for GetTokenBalanceInput
.
Implementations§
source§impl GetTokenBalanceInputBuilder
impl GetTokenBalanceInputBuilder
sourcepub fn token_identifier(self, input: TokenIdentifier) -> Self
pub fn token_identifier(self, input: TokenIdentifier) -> Self
The container for the identifier for the token, including the unique token ID and its blockchain network.
This field is required.sourcepub fn set_token_identifier(self, input: Option<TokenIdentifier>) -> Self
pub fn set_token_identifier(self, input: Option<TokenIdentifier>) -> Self
The container for the identifier for the token, including the unique token ID and its blockchain network.
sourcepub fn get_token_identifier(&self) -> &Option<TokenIdentifier>
pub fn get_token_identifier(&self) -> &Option<TokenIdentifier>
The container for the identifier for the token, including the unique token ID and its blockchain network.
sourcepub fn owner_identifier(self, input: OwnerIdentifier) -> Self
pub fn owner_identifier(self, input: OwnerIdentifier) -> Self
The container for the identifier for the owner.
This field is required.sourcepub fn set_owner_identifier(self, input: Option<OwnerIdentifier>) -> Self
pub fn set_owner_identifier(self, input: Option<OwnerIdentifier>) -> Self
The container for the identifier for the owner.
sourcepub fn get_owner_identifier(&self) -> &Option<OwnerIdentifier>
pub fn get_owner_identifier(&self) -> &Option<OwnerIdentifier>
The container for the identifier for the owner.
sourcepub fn at_blockchain_instant(self, input: BlockchainInstant) -> Self
pub fn at_blockchain_instant(self, input: BlockchainInstant) -> Self
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
sourcepub fn set_at_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
pub fn set_at_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
sourcepub fn get_at_blockchain_instant(&self) -> &Option<BlockchainInstant>
pub fn get_at_blockchain_instant(&self) -> &Option<BlockchainInstant>
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
sourcepub fn build(self) -> Result<GetTokenBalanceInput, BuildError>
pub fn build(self) -> Result<GetTokenBalanceInput, BuildError>
Consumes the builder and constructs a GetTokenBalanceInput
.
source§impl GetTokenBalanceInputBuilder
impl GetTokenBalanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetTokenBalanceOutput, SdkError<GetTokenBalanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetTokenBalanceOutput, SdkError<GetTokenBalanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetTokenBalanceInputBuilder
impl Clone for GetTokenBalanceInputBuilder
source§fn clone(&self) -> GetTokenBalanceInputBuilder
fn clone(&self) -> GetTokenBalanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTokenBalanceInputBuilder
impl Debug for GetTokenBalanceInputBuilder
source§impl Default for GetTokenBalanceInputBuilder
impl Default for GetTokenBalanceInputBuilder
source§fn default() -> GetTokenBalanceInputBuilder
fn default() -> GetTokenBalanceInputBuilder
source§impl PartialEq for GetTokenBalanceInputBuilder
impl PartialEq for GetTokenBalanceInputBuilder
source§fn eq(&self, other: &GetTokenBalanceInputBuilder) -> bool
fn eq(&self, other: &GetTokenBalanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.