Interface ExperimentRunEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentRunEvent.Builder,,ExperimentRunEvent> SdkBuilder<ExperimentRunEvent.Builder,,ExperimentRunEvent> SdkPojo
- Enclosing class:
ExperimentRunEvent
-
Method Summary
Modifier and TypeMethodDescriptionassociatedDeployment(String associatedDeployment) The Amazon Resource Name (ARN) of the deployment associated with this event.description(String description) A description of the event.The type of event.eventType(ExperimentRunEventType eventType) The type of event.exposurePercentage(Float exposurePercentage) The exposure percentage at the time of the event.occurredAt(Instant occurredAt) The date and time the event occurred, in ISO 8601 format.default ExperimentRunEvent.BuildertreatmentOverrides(Consumer<TreatmentOverrides.Builder> treatmentOverrides) The treatment overrides at the time of the event.treatmentOverrides(TreatmentOverrides treatmentOverrides) The treatment overrides at the time of the event.triggeredBy(String triggeredBy) The principal that triggered the event.triggeredBy(TriggeredBy triggeredBy) The principal that triggered the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description of the event.
- Parameters:
description- A description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedDeployment
The Amazon Resource Name (ARN) of the deployment associated with this event.
- Parameters:
associatedDeployment- The Amazon Resource Name (ARN) of the deployment associated with this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of event. Valid values:
RUN_STARTED,EXPOSURE_UPDATED,OVERRIDES_UPDATED,RUN_STOPPED.- Parameters:
eventType- The type of event. Valid values:RUN_STARTED,EXPOSURE_UPDATED,OVERRIDES_UPDATED,RUN_STOPPED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The type of event. Valid values:
RUN_STARTED,EXPOSURE_UPDATED,OVERRIDES_UPDATED,RUN_STOPPED.- Parameters:
eventType- The type of event. Valid values:RUN_STARTED,EXPOSURE_UPDATED,OVERRIDES_UPDATED,RUN_STOPPED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
occurredAt
The date and time the event occurred, in ISO 8601 format.
- Parameters:
occurredAt- The date and time the event occurred, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredBy
The principal that triggered the event.
- Parameters:
triggeredBy- The principal that triggered the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggeredBy
The principal that triggered the event.
- Parameters:
triggeredBy- The principal that triggered the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exposurePercentage
The exposure percentage at the time of the event.
- Parameters:
exposurePercentage- The exposure percentage at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatmentOverrides
The treatment overrides at the time of the event.
- Parameters:
treatmentOverrides- The treatment overrides at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatmentOverrides
default ExperimentRunEvent.Builder treatmentOverrides(Consumer<TreatmentOverrides.Builder> treatmentOverrides) The treatment overrides at the time of the event.
This is a convenience method that creates an instance of theTreatmentOverrides.Builderavoiding the need to create one manually viaTreatmentOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatmentOverrides(TreatmentOverrides).- Parameters:
treatmentOverrides- a consumer that will call methods onTreatmentOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-