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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutPartnerEventsResponse.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 © 2022. All rights reserved.