Interface PutPartnerEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutPartnerEventsResponse.Builder,
,PutPartnerEventsResponse> EventBridgeResponse.Builder
,SdkBuilder<PutPartnerEventsResponse.Builder,
,PutPartnerEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutPartnerEventsResponse
public static interface PutPartnerEventsResponse.Builder
extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<PutPartnerEventsResponse.Builder,PutPartnerEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<PutPartnerEventsResultEntry> entries) The list of events from this operation that were successfully written to the partner event bus.entries
(Consumer<PutPartnerEventsResultEntry.Builder>... entries) The list of events from this operation that were successfully written to the partner event bus.entries
(PutPartnerEventsResultEntry... entries) The list of events from this operation that were successfully written to the partner event bus.failedEntryCount
(Integer failedEntryCount) The number of events from this operation that could not be written to the partner event bus.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
failedEntryCount
The number of events from this operation that could not be written to the partner event bus.
- Parameters:
failedEntryCount
- The number of events from this operation that could not be written to the partner event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of events from this operation that were successfully written to the partner event bus.
- Parameters:
entries
- The list of events from this operation that were successfully written to the partner event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of events from this operation that were successfully written to the partner event bus.
- Parameters:
entries
- The list of events from this operation that were successfully written to the partner event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPutPartnerEventsResultEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<PutPartnerEventsResultEntry>)
.- Parameters:
entries
- a consumer that will call methods onPutPartnerEventsResultEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-