Interface ExperimentDefinitionSnapshot.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentDefinitionSnapshot.Builder,,ExperimentDefinitionSnapshot> SdkBuilder<ExperimentDefinitionSnapshot.Builder,,ExperimentDefinitionSnapshot> SdkPojo
- Enclosing class:
ExperimentDefinitionSnapshot
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID at the time the run was started.audienceDescription(String audienceDescription) The audience description at the time the run was started.audienceRule(String audienceRule) The audience rule at the time the run was started.configurationProfileId(String configurationProfileId) The configuration profile ID at the time the run was started.control(Consumer<Treatment.Builder> control) The control treatment at the time the run was started.The control treatment at the time the run was started.environmentId(String environmentId) The environment ID at the time the run was started.The feature flag key at the time the run was started.hypothesis(String hypothesis) The hypothesis at the time the run was started.The experiment definition ID.launchCriteria(String launchCriteria) The launch criteria at the time the run was started.The name of the experiment definition at the time the run was started.treatments(Collection<Treatment> treatments) The treatments at the time the run was started.treatments(Consumer<Treatment.Builder>... treatments) The treatments at the time the run was started.treatments(Treatment... treatments) The treatments at the time the run was started.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
-
applicationId
The application ID at the time the run was started.
- Parameters:
applicationId- The application ID at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The experiment definition ID.
- Parameters:
id- The experiment definition ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the experiment definition at the time the run was started.
- Parameters:
name- The name of the experiment definition at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypothesis
The hypothesis at the time the run was started.
- Parameters:
hypothesis- The hypothesis at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationProfileId
The configuration profile ID at the time the run was started.
- Parameters:
configurationProfileId- The configuration profile ID at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The environment ID at the time the run was started.
- Parameters:
environmentId- The environment ID at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flagKey
The feature flag key at the time the run was started.
- Parameters:
flagKey- The feature flag key at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceRule
The audience rule at the time the run was started.
- Parameters:
audienceRule- The audience rule at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceDescription
The audience description at the time the run was started.
- Parameters:
audienceDescription- The audience description at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchCriteria
The launch criteria at the time the run was started.
- Parameters:
launchCriteria- The launch criteria at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The treatments at the time the run was started.
- Parameters:
treatments- The treatments at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The treatments at the time the run was started.
- Parameters:
treatments- The treatments at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
The treatments at the time the run was started.
This is a convenience method that creates an instance of theTreatment.Builderavoiding the need to create one manually viaTreatment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatments(List<Treatment>).- Parameters:
treatments- a consumer that will call methods onTreatment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
control
The control treatment at the time the run was started.
- Parameters:
control- The control treatment at the time the run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
The control treatment at the time the run was started.
This is a convenience method that creates an instance of theTreatment.Builderavoiding the need to create one manually viaTreatment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrol(Treatment).- Parameters:
control- a consumer that will call methods onTreatment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-