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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutEventsResponse.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #entries(List)
.entries
- a consumer that will call methods on List.Builder
#entries(List)
Copyright © 2022. All rights reserved.