Class CfnExperimentRun.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExperimentRun.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentRun>
- Enclosing class:
CfnExperimentRun
@Stability(Stable)
public static final class CfnExperimentRun.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentRun>
A fluent builder for
CfnExperimentRun.-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application name or ID used to create the experiment run.build()static CfnExperimentRun.Builderdescription(String description) Description of the experiment run.experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition name or ID used to create the experiment run.exposurePercentage(Number exposurePercentage) Percentage of traffic exposed to the experiment (0-100).Tags to associate with the experiment run.treatmentOverrides(IResolvable treatmentOverrides) Treatment overrides for specific entities.treatmentOverrides(CfnExperimentRun.TreatmentOverridesProperty treatmentOverrides) Treatment overrides for specific entities.
-
Method Details
-
create
@Stability(Stable) public static CfnExperimentRun.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
CfnExperimentRun.Builder.
-
applicationIdentifier
@Stability(Stable) public CfnExperimentRun.Builder applicationIdentifier(String applicationIdentifier) The application name or ID used to create the experiment run.- Parameters:
applicationIdentifier- The application name or ID used to create the experiment run. This parameter is required.- Returns:
this- See Also:
-
experimentDefinitionIdentifier
@Stability(Stable) public CfnExperimentRun.Builder experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition name or ID used to create the experiment run.- Parameters:
experimentDefinitionIdentifier- The experiment definition name or ID used to create the experiment run. This parameter is required.- Returns:
this- See Also:
-
exposurePercentage
Percentage of traffic exposed to the experiment (0-100).- Parameters:
exposurePercentage- Percentage of traffic exposed to the experiment (0-100). This parameter is required.- Returns:
this- See Also:
-
description
Description of the experiment run.- Parameters:
description- Description of the experiment run. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to associate with the experiment run.- Parameters:
tags- Tags to associate with the experiment run. This parameter is required.- Returns:
this- See Also:
-
treatmentOverrides
@Stability(Stable) public CfnExperimentRun.Builder treatmentOverrides(IResolvable treatmentOverrides) Treatment overrides for specific entities.- Parameters:
treatmentOverrides- Treatment overrides for specific entities. This parameter is required.- Returns:
this- See Also:
-
treatmentOverrides
@Stability(Stable) public CfnExperimentRun.Builder treatmentOverrides(CfnExperimentRun.TreatmentOverridesProperty treatmentOverrides) Treatment overrides for specific entities.- Parameters:
treatmentOverrides- Treatment overrides for specific entities. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentRun>- Returns:
- a newly built instance of
CfnExperimentRun.
-