Interface PutEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutEventsResponse.Builder,,PutEventsResponse> EventBridgeResponse.Builder,SdkBuilder<PutEventsResponse.Builder,,PutEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutEventsResponse
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<PutEventsResultEntry> entries) The successfully and unsuccessfully ingested events results.entries(Consumer<PutEventsResultEntry.Builder>... entries) The successfully and unsuccessfully ingested events results.entries(PutEventsResultEntry... entries) The successfully and unsuccessfully ingested events results.failedEntryCount(Integer failedEntryCount) The number of failed entries.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
failedEntryCount
The number of failed entries.
- Parameters:
failedEntryCount- The number of failed entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The successfully and unsuccessfully ingested events results. If the ingestion was successful, 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 successfully and unsuccessfully ingested events results. If the ingestion was successful, 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 successfully and unsuccessfully ingested events results. If the ingestion was successful, 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 successfully and unsuccessfully ingested events results. If the ingestion was successful, 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 successfully and unsuccessfully ingested events results. If the ingestion was successful, 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 thePutEventsResultEntry.Builderavoiding the need to create one manually viaPutEventsResultEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<PutEventsResultEntry>).- Parameters:
entries- a consumer that will call methods onPutEventsResultEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-