Class ListTransactionsRequest
- 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.ListTransactionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListTransactionsRequest extends ManagedBlockchainQueryRequest implements ToCopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTransactionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()The address (either a contract or wallet), whose transactions are being requested.static ListTransactionsRequest.Builderbuilder()ConfirmationStatusFilterconfirmationStatusFilter()This filter is used to include transactions in the response that haven't reached finality .booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BlockchainInstantfromBlockchainInstant()Returns the value of the FromBlockchainInstant property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of transactions to list.QueryNetworknetwork()The blockchain network where the transactions occurred.StringnetworkAsString()The blockchain network where the transactions occurred.StringnextToken()The pagination token that indicates the next set of results to retrieve.List<SdkField<?>>sdkFields()static Class<? extends ListTransactionsRequest.Builder>serializableBuilderClass()ListTransactionsSortsort()The order by which the results will be sorted.BlockchainInstanttoBlockchainInstant()Returns the value of the ToBlockchainInstant property for this object.ListTransactionsRequest.BuildertoBuilder()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
-
address
public final String address()
The address (either a contract or wallet), whose transactions are being requested.
- Returns:
- The address (either a contract or wallet), whose transactions are being requested.
-
network
public final QueryNetwork network()
The blockchain network where the transactions occurred.
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 where the transactions occurred.
- See Also:
QueryNetwork
-
networkAsString
public final String networkAsString()
The blockchain network where the transactions occurred.
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 where the transactions occurred.
- See Also:
QueryNetwork
-
fromBlockchainInstant
public final BlockchainInstant fromBlockchainInstant()
Returns the value of the FromBlockchainInstant property for this object.- Returns:
- The value of the FromBlockchainInstant property for this object.
-
toBlockchainInstant
public final BlockchainInstant toBlockchainInstant()
Returns the value of the ToBlockchainInstant property for this object.- Returns:
- The value of the ToBlockchainInstant property for this object.
-
sort
public final ListTransactionsSort sort()
The order by which the results will be sorted.
- Returns:
- The order by which the results will be sorted.
-
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 transactions to list.
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 transactions to list.
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
-
confirmationStatusFilter
public final 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.
- Returns:
- 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.
-
toBuilder
public ListTransactionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>- Specified by:
toBuilderin classManagedBlockchainQueryRequest
-
builder
public static ListTransactionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTransactionsRequest.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
-
-