Interface BatchGetEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetEventResponse.Builder,,BatchGetEventResponse> OpenSearchMemoryResponse.Builder,SdkBuilder<BatchGetEventResponse.Builder,,BatchGetEventResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetEventResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetEventError> errors) An entry for each requested event that the call didn't return.errors(Consumer<BatchGetEventError.Builder>... errors) An entry for each requested event that the call didn't return.errors(BatchGetEventError... errors) An entry for each requested event that the call didn't return.events(Collection<Event> events) The events found, in the order that you requested their IDs.events(Consumer<Event.Builder>... events) The events found, in the order that you requested their IDs.The events found, in the order that you requested their IDs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchmemory.model.OpenSearchMemoryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
events
The events found, in the order that you requested their IDs.
- Parameters:
events- The events found, in the order that you requested their IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events found, in the order that you requested their IDs.
- Parameters:
events- The events found, in the order that you requested their IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events found, in the order that you requested their IDs.
This is a convenience method that creates an instance of theEvent.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<Event>).- Parameters:
events- a consumer that will call methods onEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
An entry for each requested event that the call didn't return. Empty when the call returned every event.
- Parameters:
errors- An entry for each requested event that the call didn't return. Empty when the call returned every event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An entry for each requested event that the call didn't return. Empty when the call returned every event.
- Parameters:
errors- An entry for each requested event that the call didn't return. Empty when the call returned every event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An entry for each requested event that the call didn't return. Empty when the call returned every event.
This is a convenience method that creates an instance of theBatchGetEventError.Builderavoiding the need to create one manually viaBatchGetEventError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetEventError>).- Parameters:
errors- a consumer that will call methods onBatchGetEventError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-