Struct aws_sdk_managedblockchainquery::types::builders::BatchGetTokenBalanceOutputItemBuilder
source · #[non_exhaustive]pub struct BatchGetTokenBalanceOutputItemBuilder { /* private fields */ }
Expand description
A builder for BatchGetTokenBalanceOutputItem
.
Implementations§
source§impl BatchGetTokenBalanceOutputItemBuilder
impl BatchGetTokenBalanceOutputItemBuilder
sourcepub fn owner_identifier(self, input: OwnerIdentifier) -> Self
pub fn owner_identifier(self, input: OwnerIdentifier) -> Self
The container for the owner identifier.
sourcepub fn set_owner_identifier(self, input: Option<OwnerIdentifier>) -> Self
pub fn set_owner_identifier(self, input: Option<OwnerIdentifier>) -> Self
The container for the owner identifier.
sourcepub fn get_owner_identifier(&self) -> &Option<OwnerIdentifier>
pub fn get_owner_identifier(&self) -> &Option<OwnerIdentifier>
The container for the owner identifier.
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.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
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.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
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.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
sourcepub fn balance(self, input: impl Into<String>) -> Self
pub fn balance(self, input: impl Into<String>) -> Self
The container for the token balance.
This field is required.sourcepub fn set_balance(self, input: Option<String>) -> Self
pub fn set_balance(self, input: Option<String>) -> Self
The container for the token balance.
sourcepub fn get_balance(&self) -> &Option<String>
pub fn get_balance(&self) -> &Option<String>
The container for the token balance.
sourcepub fn at_blockchain_instant(self, input: BlockchainInstant) -> Self
pub fn at_blockchain_instant(self, input: BlockchainInstant) -> Self
The container for time.
This field is required.sourcepub fn set_at_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
pub fn set_at_blockchain_instant(self, input: Option<BlockchainInstant>) -> Self
The container for time.
sourcepub fn get_at_blockchain_instant(&self) -> &Option<BlockchainInstant>
pub fn get_at_blockchain_instant(&self) -> &Option<BlockchainInstant>
The container for time.
sourcepub fn last_updated_time(self, input: BlockchainInstant) -> Self
pub fn last_updated_time(self, input: BlockchainInstant) -> Self
The container for time.
sourcepub fn set_last_updated_time(self, input: Option<BlockchainInstant>) -> Self
pub fn set_last_updated_time(self, input: Option<BlockchainInstant>) -> Self
The container for time.
sourcepub fn get_last_updated_time(&self) -> &Option<BlockchainInstant>
pub fn get_last_updated_time(&self) -> &Option<BlockchainInstant>
The container for time.
sourcepub fn build(self) -> Result<BatchGetTokenBalanceOutputItem, BuildError>
pub fn build(self) -> Result<BatchGetTokenBalanceOutputItem, BuildError>
Consumes the builder and constructs a BatchGetTokenBalanceOutputItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceOutputItemBuilder
impl Clone for BatchGetTokenBalanceOutputItemBuilder
source§fn clone(&self) -> BatchGetTokenBalanceOutputItemBuilder
fn clone(&self) -> BatchGetTokenBalanceOutputItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetTokenBalanceOutputItemBuilder
impl Default for BatchGetTokenBalanceOutputItemBuilder
source§fn default() -> BatchGetTokenBalanceOutputItemBuilder
fn default() -> BatchGetTokenBalanceOutputItemBuilder
source§impl PartialEq for BatchGetTokenBalanceOutputItemBuilder
impl PartialEq for BatchGetTokenBalanceOutputItemBuilder
source§fn eq(&self, other: &BatchGetTokenBalanceOutputItemBuilder) -> bool
fn eq(&self, other: &BatchGetTokenBalanceOutputItemBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchGetTokenBalanceOutputItemBuilder
Auto Trait Implementations§
impl Freeze for BatchGetTokenBalanceOutputItemBuilder
impl RefUnwindSafe for BatchGetTokenBalanceOutputItemBuilder
impl Send for BatchGetTokenBalanceOutputItemBuilder
impl Sync for BatchGetTokenBalanceOutputItemBuilder
impl Unpin for BatchGetTokenBalanceOutputItemBuilder
impl UnwindSafe for BatchGetTokenBalanceOutputItemBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more