Interface ListTransactionEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTransactionEventsResponse.Builder,,ListTransactionEventsResponse> ManagedBlockchainQueryResponse.Builder,SdkBuilder<ListTransactionEventsResponse.Builder,,ListTransactionEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTransactionEventsResponse
public static interface ListTransactionEventsResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<ListTransactionEventsResponse.Builder,ListTransactionEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<TransactionEvent> events) An array ofTransactionEventobjects.events(Consumer<TransactionEvent.Builder>... events) An array ofTransactionEventobjects.events(TransactionEvent... events) An array ofTransactionEventobjects.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
An array of
TransactionEventobjects. Each object contains details about the transaction events.- Parameters:
events- An array ofTransactionEventobjects. Each object contains details about the transaction events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
An array of
TransactionEventobjects. Each object contains details about the transaction events.- Parameters:
events- An array ofTransactionEventobjects. Each object contains details about the transaction events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
An array of
This is a convenience method that creates an instance of theTransactionEventobjects. Each object contains details about the transaction events.TransactionEvent.Builderavoiding the need to create one manually viaTransactionEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<TransactionEvent>).- Parameters:
events- a consumer that will call methods onTransactionEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-