public static interface PutEventsResponse.Builder extends CloudWatchEventsResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.