public static interface PutPartnerEventsResponse.Builder extends EventBridgeResponse.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 method that creates an instance of thePutPartnerEventsResultEntry.Builder avoiding the
need to create one manually via
PutPartnerEventsResultEntry.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
PutPartnerEventsResultEntry.Builder#entries(java.util.Collection) Copyright © 2023. All rights reserved.