Class CfnExperimentDefinition.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExperimentDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentDefinition>
- Enclosing class:
CfnExperimentDefinition
@Stability(Stable)
public static final class CfnExperimentDefinition.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentDefinition>
A fluent builder for
CfnExperimentDefinition.-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application ID, name, or ARN.audienceDescription(String audienceDescription) Human-readable description of the audience.audienceRule(String audienceRule) Rule expression defining the experiment audience.build()configurationProfileIdentifier(String configurationProfileIdentifier) The configuration profile ID, name, or ARN.control(IResolvable control) A treatment variant with weight and flag value.A treatment variant with weight and flag value.environmentIdentifier(String environmentIdentifier) The environment ID, name, or ARN.The key of the existing flag in the configuration profile to experiment on.hypothesis(String hypothesis) The hypothesis of the experiment.launchCriteria(String launchCriteria) Criteria for launching the experiment.A name for the experiment definition.Tags to associate with the experiment definition.treatments(List<? extends Object> treatments) Treatment variants (1-5).treatments(IResolvable treatments) Treatment variants (1-5).
-
Method Details
-
create
@Stability(Stable) public static CfnExperimentDefinition.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnExperimentDefinition.Builder.
-
applicationIdentifier
@Stability(Stable) public CfnExperimentDefinition.Builder applicationIdentifier(String applicationIdentifier) The application ID, name, or ARN.- Parameters:
applicationIdentifier- The application ID, name, or ARN. This parameter is required.- Returns:
this- See Also:
-
audienceRule
Rule expression defining the experiment audience.- Parameters:
audienceRule- Rule expression defining the experiment audience. This parameter is required.- Returns:
this- See Also:
-
configurationProfileIdentifier
@Stability(Stable) public CfnExperimentDefinition.Builder configurationProfileIdentifier(String configurationProfileIdentifier) The configuration profile ID, name, or ARN.- Parameters:
configurationProfileIdentifier- The configuration profile ID, name, or ARN. This parameter is required.- Returns:
this- See Also:
-
control
A treatment variant with weight and flag value.The Key is auto-generated by the service.
- Parameters:
control- A treatment variant with weight and flag value. This parameter is required.- Returns:
this- See Also:
-
control
@Stability(Stable) public CfnExperimentDefinition.Builder control(CfnExperimentDefinition.TreatmentProperty control) A treatment variant with weight and flag value.The Key is auto-generated by the service.
- Parameters:
control- A treatment variant with weight and flag value. This parameter is required.- Returns:
this- See Also:
-
environmentIdentifier
@Stability(Stable) public CfnExperimentDefinition.Builder environmentIdentifier(String environmentIdentifier) The environment ID, name, or ARN.- Parameters:
environmentIdentifier- The environment ID, name, or ARN. This parameter is required.- Returns:
this- See Also:
-
flagKey
The key of the existing flag in the configuration profile to experiment on.- Parameters:
flagKey- The key of the existing flag in the configuration profile to experiment on. This parameter is required.- Returns:
this- See Also:
-
name
A name for the experiment definition.- Parameters:
name- A name for the experiment definition. This parameter is required.- Returns:
this- See Also:
-
treatments
Treatment variants (1-5).- Parameters:
treatments- Treatment variants (1-5). This parameter is required.- Returns:
this- See Also:
-
treatments
@Stability(Stable) public CfnExperimentDefinition.Builder treatments(List<? extends Object> treatments) Treatment variants (1-5).- Parameters:
treatments- Treatment variants (1-5). This parameter is required.- Returns:
this- See Also:
-
audienceDescription
@Stability(Stable) public CfnExperimentDefinition.Builder audienceDescription(String audienceDescription) Human-readable description of the audience.- Parameters:
audienceDescription- Human-readable description of the audience. This parameter is required.- Returns:
this- See Also:
-
hypothesis
The hypothesis of the experiment.- Parameters:
hypothesis- The hypothesis of the experiment. This parameter is required.- Returns:
this- See Also:
-
launchCriteria
Criteria for launching the experiment.- Parameters:
launchCriteria- Criteria for launching the experiment. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to associate with the experiment definition.- Parameters:
tags- Tags to associate with the experiment definition. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentDefinition>- Returns:
- a newly built instance of
CfnExperimentDefinition.
-