Interface CreateExperimentDefinitionRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateExperimentDefinitionRequest.Builder,,CreateExperimentDefinitionRequest> SdkBuilder<CreateExperimentDefinitionRequest.Builder,,CreateExperimentDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateExperimentDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application ID or name.audienceDescription(String audienceDescription) A description of the intended audience for the experiment.audienceRule(String audienceRule) A rule that defines which users are eligible to be assigned to treatments during the experiment.configurationProfileIdentifier(String configurationProfileIdentifier) The configuration profile ID or name that stores the feature flag.control(Consumer<TreatmentInput.Builder> control) The control treatment that represents the baseline experience for comparison.control(TreatmentInput control) The control treatment that represents the baseline experience for comparison.environmentIdentifier(String environmentIdentifier) The environment ID or name where the experiment will run.The key of the existing feature flag to use with the experiment.hypothesis(String hypothesis) A description of the goal or hypothesis the experiment is designed to validate.launchCriteria(String launchCriteria) Information about the conditions under which you would launch the winning treatment.A name for the experiment definition.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to assign to the experiment definition.treatments(Collection<TreatmentInput> treatments) A list of treatments to evaluate during the experiment.treatments(Consumer<TreatmentInput.Builder>... treatments) A list of treatments to evaluate during the experiment.treatments(TreatmentInput... treatments) A list of treatments to evaluate during the experiment.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
applicationIdentifier
The application ID or name.
- Parameters:
applicationIdentifier- The application ID or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the experiment definition.
- Parameters:
name- A name for the experiment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationProfileIdentifier
CreateExperimentDefinitionRequest.Builder configurationProfileIdentifier(String configurationProfileIdentifier) The configuration profile ID or name that stores the feature flag.
- Parameters:
configurationProfileIdentifier- The configuration profile ID or name that stores the feature flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentIdentifier
The environment ID or name where the experiment will run.
- Parameters:
environmentIdentifier- The environment ID or name where the experiment will run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flagKey
The key of the existing feature flag to use with the experiment.
- Parameters:
flagKey- The key of the existing feature flag to use with the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
- Parameters:
treatments- A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
- Parameters:
treatments- A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatments
CreateExperimentDefinitionRequest.Builder treatments(Consumer<TreatmentInput.Builder>... treatments) A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation compared to the control.
This is a convenience method that creates an instance of theTreatmentInput.Builderavoiding the need to create one manually viaTreatmentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totreatments(List<TreatmentInput>).- Parameters:
treatments- a consumer that will call methods onTreatmentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
control
The control treatment that represents the baseline experience for comparison.
- Parameters:
control- The control treatment that represents the baseline experience for comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
The control treatment that represents the baseline experience for comparison.
This is a convenience method that creates an instance of theTreatmentInput.Builderavoiding the need to create one manually viaTreatmentInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrol(TreatmentInput).- Parameters:
control- a consumer that will call methods onTreatmentInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audienceRule
A rule that defines which users are eligible to be assigned to treatments during the experiment.
- Parameters:
audienceRule- A rule that defines which users are eligible to be assigned to treatments during the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypothesis
A description of the goal or hypothesis the experiment is designed to validate.
- Parameters:
hypothesis- A description of the goal or hypothesis the experiment is designed to validate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceDescription
A description of the intended audience for the experiment.
- Parameters:
audienceDescription- A description of the intended audience for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchCriteria
Information about the conditions under which you would launch the winning treatment.
- Parameters:
launchCriteria- Information about the conditions under which you would launch the winning treatment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to assign to the experiment definition. Tags help organize and categorize your AppConfig resources.
- Parameters:
tags- The tags to assign to the experiment definition. Tags help organize and categorize your AppConfig resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExperimentDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateExperimentDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-