public static interface PutEventsResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<PutEventsResponse.Builder,PutEventsResponse>
| Modifier and Type | Method and Description |
|---|---|
PutEventsResponse.Builder |
entries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results.
|
PutEventsResponse.Builder |
entries(Consumer<PutEventsResultEntry.Builder>... entries)
The successfully and unsuccessfully ingested events results.
|
PutEventsResponse.Builder |
entries(PutEventsResultEntry... entries)
The successfully and unsuccessfully ingested events results.
|
PutEventsResponse.Builder |
failedEntryCount(Integer failedEntryCount)
The number of failed entries.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutEventsResponse.Builder failedEntryCount(Integer failedEntryCount)
The number of failed entries.
failedEntryCount - The number of failed entries.PutEventsResponse.Builder entries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
entries - The successfully and unsuccessfully ingested events results. If the ingestion was successful, the
entry has the event ID in it. Otherwise, you can use the error code and error message to identify the
problem with the entry.PutEventsResponse.Builder entries(PutEventsResultEntry... entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
entries - The successfully and unsuccessfully ingested events results. If the ingestion was successful, the
entry has the event ID in it. Otherwise, you can use the error code and error message to identify the
problem with the entry.PutEventsResponse.Builder entries(Consumer<PutEventsResultEntry.Builder>... entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
This is a convenience method that creates an instance of thePutEventsResultEntry.Builder avoiding the need to
create one manually via
PutEventsResultEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #entries(List.
entries - a consumer that will call methods on
PutEventsResultEntry.Builder#entries(java.util.Collection) Copyright © 2022. All rights reserved.