@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTokenBalancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTokenBalancesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTokenBalancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of token balances to return.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
OwnerFilter |
getOwnerFilter()
The contract or wallet address on the blockchain network by which to filter the request.
|
TokenFilter |
getTokenFilter()
The contract address or a token identifier on the blockchain network by which to filter the request.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of token balances to return.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setOwnerFilter(OwnerFilter ownerFilter)
The contract or wallet address on the blockchain network by which to filter the request.
|
void |
setTokenFilter(TokenFilter tokenFilter)
The contract address or a token identifier on the blockchain network by which to filter the request.
|
String |
toString()
Returns a string representation of this object.
|
ListTokenBalancesRequest |
withMaxResults(Integer maxResults)
The maximum number of token balances to return.
|
ListTokenBalancesRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListTokenBalancesRequest |
withOwnerFilter(OwnerFilter ownerFilter)
The contract or wallet address on the blockchain network by which to filter the request.
|
ListTokenBalancesRequest |
withTokenFilter(TokenFilter tokenFilter)
The contract address or a token identifier on the blockchain network by which to filter the request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOwnerFilter(OwnerFilter ownerFilter)
The contract or wallet address on the blockchain network by which to filter the request. You must specify the
address
property of the ownerFilter
when listing balances of tokens owned by the
address.
ownerFilter
- The contract or wallet address on the blockchain network by which to filter the request. You must specify
the address
property of the ownerFilter
when listing balances of tokens owned by
the address.public OwnerFilter getOwnerFilter()
The contract or wallet address on the blockchain network by which to filter the request. You must specify the
address
property of the ownerFilter
when listing balances of tokens owned by the
address.
address
property of the ownerFilter
when listing balances of tokens owned
by the address.public ListTokenBalancesRequest withOwnerFilter(OwnerFilter ownerFilter)
The contract or wallet address on the blockchain network by which to filter the request. You must specify the
address
property of the ownerFilter
when listing balances of tokens owned by the
address.
ownerFilter
- The contract or wallet address on the blockchain network by which to filter the request. You must specify
the address
property of the ownerFilter
when listing balances of tokens owned by
the address.public void setTokenFilter(TokenFilter tokenFilter)
The contract address or a token identifier on the blockchain network by which to filter the request. You must
specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
tokenFilter
- The contract address or a token identifier on the blockchain network by which to filter the request. You
must specify the contractAddress
property of this container when listing tokens minted by a
contract. You must always specify the network property of this container when using this operation.
public TokenFilter getTokenFilter()
The contract address or a token identifier on the blockchain network by which to filter the request. You must
specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
contractAddress
property of this container when listing tokens minted by a
contract. You must always specify the network property of this container when using this operation.
public ListTokenBalancesRequest withTokenFilter(TokenFilter tokenFilter)
The contract address or a token identifier on the blockchain network by which to filter the request. You must
specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
tokenFilter
- The contract address or a token identifier on the blockchain network by which to filter the request. You
must specify the contractAddress
property of this container when listing tokens minted by a
contract. You must always specify the network property of this container when using this operation.
public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListTokenBalancesRequest withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public void setMaxResults(Integer maxResults)
The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
maxResults
- The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public Integer getMaxResults()
The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public ListTokenBalancesRequest withMaxResults(Integer maxResults)
The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The
value of nextToken
is null
when there are no more results to return
maxResults
- The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than
maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value.
The value of nextToken
is null
when there are no more results to return
public String toString()
toString
in class Object
Object.toString()
public ListTokenBalancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()