@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.
|
ConfirmationStatusFilter |
getConfirmationStatusFilter()
This filter is used to include transactions in the response that haven't reached finality
.
|
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()
The order by which the results will be sorted.
|
BlockchainInstant |
getToBlockchainInstant() |
int |
hashCode() |
void |
setAddress(String address)
The address (either a contract or wallet), whose transactions are being requested.
|
void |
setConfirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter)
This filter is used to include transactions in the response that haven't reached finality
.
|
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)
The order by which the results will be sorted.
|
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 |
withConfirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter)
This filter is used to include transactions in the response that haven't reached finality
.
|
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)
The order by which the results will be sorted.
|
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)
The order by which the results will be sorted.
sort
- The order by which the results will be sorted.public ListTransactionsSort getSort()
The order by which the results will be sorted.
public ListTransactionsRequest withSort(ListTransactionsSort sort)
The order by which the results will be sorted.
sort
- The order by which the results will be sorted.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.
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 transactions to list.
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 transactions to list.
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 ListTransactionsRequest withMaxResults(Integer maxResults)
The maximum number of transactions to list.
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 transactions to list.
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 void setConfirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter)
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
confirmationStatusFilter
- This filter is used to include transactions in the response that haven't reached
finality . Transactions that have reached finality are always part of the response.public ConfirmationStatusFilter getConfirmationStatusFilter()
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
public ListTransactionsRequest withConfirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter)
This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
confirmationStatusFilter
- This filter is used to include transactions in the response that haven't reached
finality . Transactions that have reached finality are always part of the response.public String toString()
toString
in class Object
Object.toString()
public ListTransactionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()