Interface PutProjectEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutProjectEventsResponse.Builder,,PutProjectEventsResponse> EvidentlyResponse.Builder,SdkBuilder<PutProjectEventsResponse.Builder,,PutProjectEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutProjectEventsResponse
public static interface PutProjectEventsResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<PutProjectEventsResponse.Builder,PutProjectEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventResults(Collection<PutProjectEventsResultEntry> eventResults) A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.eventResults(Consumer<PutProjectEventsResultEntry.Builder>... eventResults) A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.eventResults(PutProjectEventsResultEntry... eventResults) A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.failedEventCount(Integer failedEventCount) The number of events in the operation that could not be used by Evidently.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.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
-
eventResults
A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
- Parameters:
eventResults- A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventResults
A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
- Parameters:
eventResults- A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventResults
PutProjectEventsResponse.Builder eventResults(Consumer<PutProjectEventsResultEntry.Builder>... eventResults) A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
This is a convenience method that creates an instance of thePutProjectEventsResultEntry.Builderavoiding the need to create one manually viaPutProjectEventsResultEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventResults(List<PutProjectEventsResultEntry>).- Parameters:
eventResults- a consumer that will call methods onPutProjectEventsResultEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedEventCount
The number of events in the operation that could not be used by Evidently.
- Parameters:
failedEventCount- The number of events in the operation that could not be used by Evidently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-