@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTransactionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTransactionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListTransactionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddress()
The address (either a contract or wallet), whose transactions are being requested.
|
BlockchainInstant |
getFromBlockchainInstant() |
Integer |
getMaxResults()
The maximum number of transactions to list.
|
String |
getNetwork()
The blockchain network where the transactions occurred.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
ListTransactionsSort |
getSort()
Sorts items in an ascending order if the first page starts at
fromTime . |
BlockchainInstant |
getToBlockchainInstant() |
int |
hashCode() |
void |
setAddress(String address)
The address (either a contract or wallet), whose transactions are being requested.
|
void |
setFromBlockchainInstant(BlockchainInstant fromBlockchainInstant) |
void |
setMaxResults(Integer maxResults)
The maximum number of transactions to list.
|
void |
setNetwork(String network)
The blockchain network where the transactions occurred.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setSort(ListTransactionsSort sort)
Sorts items in an ascending order if the first page starts at
fromTime . |
void |
setToBlockchainInstant(BlockchainInstant toBlockchainInstant) |
String |
toString()
Returns a string representation of this object.
|
ListTransactionsRequest |
withAddress(String address)
The address (either a contract or wallet), whose transactions are being requested.
|
ListTransactionsRequest |
withFromBlockchainInstant(BlockchainInstant fromBlockchainInstant) |
ListTransactionsRequest |
withMaxResults(Integer maxResults)
The maximum number of transactions to list.
|
ListTransactionsRequest |
withNetwork(QueryNetwork network)
The blockchain network where the transactions occurred.
|
ListTransactionsRequest |
withNetwork(String network)
The blockchain network where the transactions occurred.
|
ListTransactionsRequest |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListTransactionsRequest |
withSort(ListTransactionsSort sort)
Sorts items in an ascending order if the first page starts at
fromTime . |
ListTransactionsRequest |
withToBlockchainInstant(BlockchainInstant toBlockchainInstant) |
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 setAddress(String address)
The address (either a contract or wallet), whose transactions are being requested.
address
- The address (either a contract or wallet), whose transactions are being requested.public String getAddress()
The address (either a contract or wallet), whose transactions are being requested.
public ListTransactionsRequest withAddress(String address)
The address (either a contract or wallet), whose transactions are being requested.
address
- The address (either a contract or wallet), whose transactions are being requested.public void setNetwork(String network)
The blockchain network where the transactions occurred.
network
- The blockchain network where the transactions occurred.QueryNetwork
public String getNetwork()
The blockchain network where the transactions occurred.
QueryNetwork
public ListTransactionsRequest withNetwork(String network)
The blockchain network where the transactions occurred.
network
- The blockchain network where the transactions occurred.QueryNetwork
public ListTransactionsRequest withNetwork(QueryNetwork network)
The blockchain network where the transactions occurred.
network
- The blockchain network where the transactions occurred.QueryNetwork
public void setFromBlockchainInstant(BlockchainInstant fromBlockchainInstant)
fromBlockchainInstant
- public BlockchainInstant getFromBlockchainInstant()
public ListTransactionsRequest withFromBlockchainInstant(BlockchainInstant fromBlockchainInstant)
fromBlockchainInstant
- public void setToBlockchainInstant(BlockchainInstant toBlockchainInstant)
toBlockchainInstant
- public BlockchainInstant getToBlockchainInstant()
public ListTransactionsRequest withToBlockchainInstant(BlockchainInstant toBlockchainInstant)
toBlockchainInstant
- public void setSort(ListTransactionsSort sort)
Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a descending
order if the first page starts at toTime
.
sort
- Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a
descending order if the first page starts at toTime
.public ListTransactionsSort getSort()
Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a descending
order if the first page starts at toTime
.
fromTime
. Sorts items in a
descending order if the first page starts at toTime
.public ListTransactionsRequest withSort(ListTransactionsSort sort)
Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a descending
order if the first page starts at toTime
.
sort
- Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a
descending order if the first page starts at toTime
.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 ListTransactionsRequest 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 transactions to list.
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 transactions to list.
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 transactions to list.
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
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 ListTransactionsRequest withMaxResults(Integer maxResults)
The maximum number of transactions to list.
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 transactions to list.
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 ListTransactionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()