@Generated(value="software.amazon.awssdk:codegen") public final class TokenBalance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TokenBalance.Builder,TokenBalance>
The balance of the token.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TokenBalance.Builder |
| Modifier and Type | Method and Description |
|---|---|
BlockchainInstant |
atBlockchainInstant()
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
|
String |
balance()
The container of the token balance.
|
static TokenBalance.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
BlockchainInstant |
lastUpdatedTime()
The
timestamp of the last transaction at which the balance for the token in the wallet was updated. |
OwnerIdentifier |
ownerIdentifier()
The container for the identifier of the owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TokenBalance.Builder> |
serializableBuilderClass() |
TokenBalance.Builder |
toBuilder() |
TokenIdentifier |
tokenIdentifier()
The identifier for the token, including the unique token ID and its blockchain network.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final OwnerIdentifier ownerIdentifier()
The container for the identifier of the owner.
public final TokenIdentifier tokenIdentifier()
The identifier for the token, including the unique token ID and its blockchain network.
public final String balance()
The container of the token balance.
public final 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.
This time will only be recorded up to the second.
public final BlockchainInstant lastUpdatedTime()
The timestamp of the last transaction at which the balance for the token in the wallet was updated.
timestamp of the last transaction at which the balance for the token in the wallet was
updated.public TokenBalance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TokenBalance.Builder,TokenBalance>public static TokenBalance.Builder builder()
public static Class<? extends TokenBalance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.