Class TokenFilter
- java.lang.Object
-
- software.amazon.awssdk.services.managedblockchainquery.model.TokenFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TokenFilter.Builder,TokenFilter>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTokenFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenFilter.Builderbuilder()StringcontractAddress()This is the address of the contract.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()QueryNetworknetwork()The blockchain network of the token.StringnetworkAsString()The blockchain network of the token.List<SdkField<?>>sdkFields()static Class<? extends TokenFilter.Builder>serializableBuilderClass()TokenFilter.BuildertoBuilder()StringtokenId()The unique identifier of the token.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
network
public 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,
networkwill returnQueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkAsString().- Returns:
- The blockchain network of the token.
- See Also:
QueryNetwork
-
networkAsString
public 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,
networkwill returnQueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkAsString().- Returns:
- The blockchain network of the token.
- See Also:
QueryNetwork
-
contractAddress
public final String contractAddress()
This is the address of the contract.
- Returns:
- This is the address of the contract.
-
tokenId
public final String tokenId()
The unique identifier of the token.
- Returns:
- The unique identifier of the token.
-
toBuilder
public TokenFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TokenFilter.Builder,TokenFilter>
-
builder
public static TokenFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends TokenFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-