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.
For each record, the index of the response element is the same as the index in the request array.
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.
For each record, the index of the response element is the same as the index in the request array.
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.
For each record, the index of the response element is the same as the index in the request array.
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.
For each record, the index of the response element is the same as the index in the request array.
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.
For each record, the index of the response element is the same as the index in the request array.
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 © 2023. All rights reserved.