Interface PutEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchEventsResponse.Builder
,CopyableBuilder<PutEventsResponse.Builder,
,PutEventsResponse> 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.services.cloudwatchevents.model.CloudWatchEventsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 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.
- 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.- 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.
- 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.- 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.
This is a convenience method that creates an instance of thePutEventsResultEntry.Builder
avoiding the need to create one manually viaPutEventsResultEntry.builder()
.When the
Consumer
completes,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:
-