Interface PutPartnerEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutPartnerEventsResponse.Builder,
,PutPartnerEventsResponse> EventBridgeResponse.Builder
,SdkBuilder<PutPartnerEventsResponse.Builder,
,PutPartnerEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutPartnerEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<PutPartnerEventsResultEntry> entries) The results for each event entry the partner submitted in this request.entries
(Consumer<PutPartnerEventsResultEntry.Builder>... entries) The results for each event entry the partner submitted in this request.entries
(PutPartnerEventsResultEntry... entries) The results for each event entry the partner submitted in this request.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 results for each event entry the partner submitted in this request. If the event was successfully submitted, 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.
For each record, the index of the response element is the same as the index in the request array.
- Parameters:
entries
- The results for each event entry the partner submitted in this request. If the event was successfully submitted, 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.For each record, the index of the response element is the same as the index in the request array.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The results for each event entry the partner submitted in this request. If the event was successfully submitted, 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.
For each record, the index of the response element is the same as the index in the request array.
- Parameters:
entries
- The results for each event entry the partner submitted in this request. If the event was successfully submitted, 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.For each record, the index of the response element is the same as the index in the request array.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The results for each event entry the partner submitted in this request. If the event was successfully submitted, 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.
For each record, the index of the response element is the same as the index in the request array.
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:
-