Interface PutProjectEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutProjectEventsRequest.Builder,
,PutProjectEventsRequest> EvidentlyRequest.Builder
,SdkBuilder<PutProjectEventsRequest.Builder,
,PutProjectEventsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutProjectEventsRequest
public static interface PutProjectEventsRequest.Builder
extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<PutProjectEventsRequest.Builder,PutProjectEventsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) An array of event structures that contain the performance data that is being sent to Evidently.events
(Consumer<Event.Builder>... events) An array of event structures that contain the performance data that is being sent to Evidently.An array of event structures that contain the performance data that is being sent to Evidently.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or ARN of the project to write the events to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
events
An array of event structures that contain the performance data that is being sent to Evidently.
- Parameters:
events
- An array of event structures that contain the performance data that is being sent to Evidently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
An array of event structures that contain the performance data that is being sent to Evidently.
- Parameters:
events
- An array of event structures that contain the performance data that is being sent to Evidently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
An array of event structures that contain the performance data that is being sent to Evidently.
This is a convenience method that creates an instance of theEvent.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<Event>)
.- Parameters:
events
- a consumer that will call methods onEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
project
The name or ARN of the project to write the events to.
- Parameters:
project
- The name or ARN of the project to write the events to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutProjectEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutProjectEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-