public static interface PutPartnerEventsResponse.Builder extends CloudWatchEventsResponse.Builder, SdkPojo, CopyableBuilder<PutPartnerEventsResponse.Builder,PutPartnerEventsResponse>
| Modifier and Type | Method and Description |
|---|---|
PutPartnerEventsResponse.Builder |
entries(Collection<PutPartnerEventsResultEntry> entries)
The list of events from this operation that were successfully written to the partner event bus.
|
PutPartnerEventsResponse.Builder |
entries(Consumer<PutPartnerEventsResultEntry.Builder>... entries)
The list of events from this operation that were successfully written to the partner event bus.
|
PutPartnerEventsResponse.Builder |
entries(PutPartnerEventsResultEntry... entries)
The list of events from this operation that were successfully written to the partner event bus.
|
PutPartnerEventsResponse.Builder |
failedEntryCount(Integer failedEntryCount)
The number of events from this operation that could not be written to the partner event bus.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPartnerEventsResponse.Builder failedEntryCount(Integer failedEntryCount)
The number of events from this operation that could not be written to the partner event bus.
failedEntryCount - The number of events from this operation that could not be written to the partner event bus.PutPartnerEventsResponse.Builder entries(Collection<PutPartnerEventsResultEntry> entries)
The list of events from this operation that were successfully written to the partner event bus.
entries - The list of events from this operation that were successfully written to the partner event bus.PutPartnerEventsResponse.Builder entries(PutPartnerEventsResultEntry... entries)
The list of events from this operation that were successfully written to the partner event bus.
entries - The list of events from this operation that were successfully written to the partner event bus.PutPartnerEventsResponse.Builder entries(Consumer<PutPartnerEventsResultEntry.Builder>... entries)
The list of events from this operation that were successfully written to the partner event bus.
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 © 2020. All rights reserved.