Class CfnExperimentDefinitionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appconfig.CfnExperimentDefinitionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentDefinitionPropsMixin>
- Enclosing class:
CfnExperimentDefinitionPropsMixin
@Stability(Stable)
public static final class CfnExperimentDefinitionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentDefinitionPropsMixin>
A fluent builder for
CfnExperimentDefinitionPropsMixin.-
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.A treatment variant with weight and flag value.control(IResolvable control) A treatment variant with weight and flag value.create()create(CfnPropertyMixinOptions options) 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 CfnExperimentDefinitionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnExperimentDefinitionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnExperimentDefinitionPropsMixin.Builder.
-
applicationIdentifier
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.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:
-
audienceDescription
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.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:
-
audienceRule
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.Builder audienceRule(String 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 CfnExperimentDefinitionPropsMixin.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 CfnExperimentDefinitionPropsMixin.Builder control(CfnExperimentDefinitionPropsMixin.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 CfnExperimentDefinitionPropsMixin.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:
-
hypothesis
The hypothesis of the experiment.- Parameters:
hypothesis- The hypothesis of the experiment. This parameter is required.- Returns:
this- See Also:
-
launchCriteria
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.Builder launchCriteria(String launchCriteria) Criteria for launching the experiment.- Parameters:
launchCriteria- Criteria for launching the experiment. 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:
-
tags
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.Builder tags(List<? extends CfnTag> 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:
-
treatments
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.Builder treatments(IResolvable treatments) Treatment variants (1-5).- Parameters:
treatments- Treatment variants (1-5). This parameter is required.- Returns:
this- See Also:
-
treatments
@Stability(Stable) public CfnExperimentDefinitionPropsMixin.Builder treatments(List<? extends Object> treatments) Treatment variants (1-5).- Parameters:
treatments- Treatment variants (1-5). This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentDefinitionPropsMixin>- Returns:
- a newly built instance of
CfnExperimentDefinitionPropsMixin.
-