Interface ListTransactionEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTransactionEventsResponse.Builder,
,ListTransactionEventsResponse> ManagedBlockchainQueryResponse.Builder
,SdkBuilder<ListTransactionEventsResponse.Builder,
,ListTransactionEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTransactionEventsResponse
@Mutable
@NotThreadSafe
public static interface ListTransactionEventsResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<ListTransactionEventsResponse.Builder,ListTransactionEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<TransactionEvent> events) An array ofTransactionEvent
objects.events
(Consumer<TransactionEvent.Builder>... events) An array ofTransactionEvent
objects.events
(TransactionEvent... events) An array ofTransactionEvent
objects.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
An array of
TransactionEvent
objects. Each object contains details about the transaction events.- Parameters:
events
- An array ofTransactionEvent
objects. 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
TransactionEvent
objects. Each object contains details about the transaction events.- Parameters:
events
- An array ofTransactionEvent
objects. 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 theTransactionEvent
objects. Each object contains details about the transaction events.TransactionEvent.Builder
avoiding the need to create one manually viaTransactionEvent.builder()
.When the
Consumer
completes,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.
-