public static interface TokenBalance.Builder extends SdkPojo, CopyableBuilder<TokenBalance.Builder,TokenBalance>
| Modifier and Type | Method and Description |
|---|---|
TokenBalance.Builder |
atBlockchainInstant(BlockchainInstant atBlockchainInstant)
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
|
default TokenBalance.Builder |
atBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant)
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
|
TokenBalance.Builder |
balance(String balance)
The container of the token balance.
|
TokenBalance.Builder |
lastUpdatedTime(BlockchainInstant lastUpdatedTime)
The
timestamp of the last transaction at which the balance for the token in the wallet was
updated. |
default TokenBalance.Builder |
lastUpdatedTime(Consumer<BlockchainInstant.Builder> lastUpdatedTime)
The
timestamp of the last transaction at which the balance for the token in the wallet was
updated. |
default TokenBalance.Builder |
ownerIdentifier(Consumer<OwnerIdentifier.Builder> ownerIdentifier)
The container for the identifier of the owner.
|
TokenBalance.Builder |
ownerIdentifier(OwnerIdentifier ownerIdentifier)
The container for the identifier of the owner.
|
default TokenBalance.Builder |
tokenIdentifier(Consumer<TokenIdentifier.Builder> tokenIdentifier)
The identifier for the token, including the unique token ID and its blockchain network.
|
TokenBalance.Builder |
tokenIdentifier(TokenIdentifier tokenIdentifier)
The identifier for the token, including the unique token ID and its blockchain network.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTokenBalance.Builder ownerIdentifier(OwnerIdentifier ownerIdentifier)
The container for the identifier of the owner.
ownerIdentifier - The container for the identifier of the owner.default TokenBalance.Builder ownerIdentifier(Consumer<OwnerIdentifier.Builder> ownerIdentifier)
The container for the identifier of the owner.
This is a convenience method that creates an instance of theOwnerIdentifier.Builder avoiding the
need to create one manually via OwnerIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ownerIdentifier(OwnerIdentifier).
ownerIdentifier - a consumer that will call methods on OwnerIdentifier.BuilderownerIdentifier(OwnerIdentifier)TokenBalance.Builder tokenIdentifier(TokenIdentifier tokenIdentifier)
The identifier for the token, including the unique token ID and its blockchain network.
tokenIdentifier - The identifier for the token, including the unique token ID and its blockchain network.default TokenBalance.Builder tokenIdentifier(Consumer<TokenIdentifier.Builder> tokenIdentifier)
The identifier for the token, including the unique token ID and its blockchain network.
This is a convenience method that creates an instance of theTokenIdentifier.Builder avoiding the
need to create one manually via TokenIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to tokenIdentifier(TokenIdentifier).
tokenIdentifier - a consumer that will call methods on TokenIdentifier.BuildertokenIdentifier(TokenIdentifier)TokenBalance.Builder balance(String balance)
The container of the token balance.
balance - The container of the token balance.TokenBalance.Builder atBlockchainInstant(BlockchainInstant atBlockchainInstant)
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.
atBlockchainInstant - 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.
default TokenBalance.Builder atBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant)
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.
BlockchainInstant.Builder
avoiding the need to create one manually via BlockchainInstant.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to atBlockchainInstant(BlockchainInstant).
atBlockchainInstant - a consumer that will call methods on BlockchainInstant.BuilderatBlockchainInstant(BlockchainInstant)TokenBalance.Builder lastUpdatedTime(BlockchainInstant lastUpdatedTime)
The timestamp of the last transaction at which the balance for the token in the wallet was
updated.
lastUpdatedTime - The timestamp of the last transaction at which the balance for the token in the wallet
was updated.default TokenBalance.Builder lastUpdatedTime(Consumer<BlockchainInstant.Builder> lastUpdatedTime)
The timestamp of the last transaction at which the balance for the token in the wallet was
updated.
BlockchainInstant.Builder avoiding the
need to create one manually via BlockchainInstant.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lastUpdatedTime(BlockchainInstant).
lastUpdatedTime - a consumer that will call methods on BlockchainInstant.BuilderlastUpdatedTime(BlockchainInstant)Copyright © 2023. All rights reserved.