Class CfnExperimentRunProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExperimentRunProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentRunProps>
- Enclosing interface:
CfnExperimentRunProps
@Stability(Stable)
public static final class CfnExperimentRunProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentRunProps>
A builder for
CfnExperimentRunProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) Sets the value ofCfnExperimentRunProps.getApplicationIdentifier()build()Builds the configured instance.description(String description) Sets the value ofCfnExperimentRunProps.getDescription()experimentDefinitionIdentifier(String experimentDefinitionIdentifier) Sets the value ofCfnExperimentRunProps.getExperimentDefinitionIdentifier()exposurePercentage(Number exposurePercentage) Sets the value ofCfnExperimentRunProps.getExposurePercentage()Sets the value ofCfnExperimentRunProps.getTags()treatmentOverrides(IResolvable treatmentOverrides) Sets the value ofCfnExperimentRunProps.getTreatmentOverrides()treatmentOverrides(CfnExperimentRun.TreatmentOverridesProperty treatmentOverrides) Sets the value ofCfnExperimentRunProps.getTreatmentOverrides()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationIdentifier
@Stability(Stable) public CfnExperimentRunProps.Builder applicationIdentifier(String applicationIdentifier) Sets the value ofCfnExperimentRunProps.getApplicationIdentifier()- Parameters:
applicationIdentifier- The application name or ID used to create the experiment run. This parameter is required.- Returns:
this
-
experimentDefinitionIdentifier
@Stability(Stable) public CfnExperimentRunProps.Builder experimentDefinitionIdentifier(String experimentDefinitionIdentifier) Sets the value ofCfnExperimentRunProps.getExperimentDefinitionIdentifier()- Parameters:
experimentDefinitionIdentifier- The experiment definition name or ID used to create the experiment run. This parameter is required.- Returns:
this
-
exposurePercentage
@Stability(Stable) public CfnExperimentRunProps.Builder exposurePercentage(Number exposurePercentage) Sets the value ofCfnExperimentRunProps.getExposurePercentage()- Parameters:
exposurePercentage- Percentage of traffic exposed to the experiment (0-100). This parameter is required.- Returns:
this
-
description
Sets the value ofCfnExperimentRunProps.getDescription()- Parameters:
description- Description of the experiment run.- Returns:
this
-
tags
Sets the value ofCfnExperimentRunProps.getTags()- Parameters:
tags- Tags to associate with the experiment run.- Returns:
this
-
treatmentOverrides
@Stability(Stable) public CfnExperimentRunProps.Builder treatmentOverrides(IResolvable treatmentOverrides) Sets the value ofCfnExperimentRunProps.getTreatmentOverrides()- Parameters:
treatmentOverrides- Treatment overrides for specific entities.- Returns:
this
-
treatmentOverrides
@Stability(Stable) public CfnExperimentRunProps.Builder treatmentOverrides(CfnExperimentRun.TreatmentOverridesProperty treatmentOverrides) Sets the value ofCfnExperimentRunProps.getTreatmentOverrides()- Parameters:
treatmentOverrides- Treatment overrides for specific entities.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentRunProps>- Returns:
- a new instance of
CfnExperimentRunProps - Throws:
NullPointerException- if any required attribute was not provided
-