@Generated(value="software.amazon.awssdk:codegen") public final class TokenFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TokenFilter.Builder,TokenFilter>
The container of the token filter like the contract address on a given blockchain network or a unique token identifier on a given blockchain network.
You must always specify the network property of this container when using this operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TokenFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TokenFilter.Builder |
builder() |
String |
contractAddress()
This is the address of the contract.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
QueryNetwork |
network()
The blockchain network of the token.
|
String |
networkAsString()
The blockchain network of the token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TokenFilter.Builder> |
serializableBuilderClass() |
TokenFilter.Builder |
toBuilder() |
String |
tokenId()
The unique identifier of the token.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final QueryNetwork network()
The blockchain network of the token.
If the service returns an enum value that is not available in the current SDK version, network will
return QueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkAsString().
QueryNetworkpublic final String networkAsString()
The blockchain network of the token.
If the service returns an enum value that is not available in the current SDK version, network will
return QueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkAsString().
QueryNetworkpublic final String contractAddress()
This is the address of the contract.
public final String tokenId()
The unique identifier of the token.
public TokenFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TokenFilter.Builder,TokenFilter>public static TokenFilter.Builder builder()
public static Class<? extends TokenFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.