Class ListTokenBalancesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest
-
- software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListTokenBalancesRequest.Builder,ListTokenBalancesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListTokenBalancesRequest extends ManagedBlockchainQueryRequest implements ToCopyableBuilder<ListTokenBalancesRequest.Builder,ListTokenBalancesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTokenBalancesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTokenBalancesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of token balances to return.StringnextToken()The pagination token that indicates the next set of results to retrieve.OwnerFilterownerFilter()The contract or wallet address on the blockchain network by which to filter the request.List<SdkField<?>>sdkFields()static Class<? extends ListTokenBalancesRequest.Builder>serializableBuilderClass()ListTokenBalancesRequest.BuildertoBuilder()TokenFiltertokenFilter()The contract address or a token identifier on the blockchain network by which to filter the request.StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
ownerFilter
public final OwnerFilter ownerFilter()
The contract or wallet address on the blockchain network by which to filter the request. You must specify the
addressproperty of theownerFilterwhen listing balances of tokens owned by the address.- Returns:
- The contract or wallet address on the blockchain network by which to filter the request. You must specify
the
addressproperty of theownerFilterwhen listing balances of tokens owned by the address.
-
tokenFilter
public final TokenFilter tokenFilter()
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the
contractAddressproperty of this container when listing tokens minted by a contract.You must always specify the network property of this container when using this operation.
- Returns:
- The contract address or a token identifier on the blockchain network by which to filter the request. You
must specify the
contractAddressproperty of this container when listing tokens minted by a contract.You must always specify the network property of this container when using this operation.
-
nextToken
public final String nextToken()
The pagination token that indicates the next set of results to retrieve.
- Returns:
- The pagination token that indicates the next set of results to retrieve.
-
maxResults
public final Integer maxResults()
The maximum number of token balances to return.
Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return- Returns:
- The maximum number of token balances to return.
Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return
-
toBuilder
public ListTokenBalancesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTokenBalancesRequest.Builder,ListTokenBalancesRequest>- Specified by:
toBuilderin classManagedBlockchainQueryRequest
-
builder
public static ListTokenBalancesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTokenBalancesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-