Class CfnLaunchPropsMixin.StepConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnLaunchPropsMixin.StepConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchPropsMixin.StepConfigProperty>
- Enclosing interface:
CfnLaunchPropsMixin.StepConfigProperty
@Stability(Stable)
public static final class CfnLaunchPropsMixin.StepConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchPropsMixin.StepConfigProperty>
A builder for
CfnLaunchPropsMixin.StepConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupWeights(List<? extends Object> groupWeights) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getGroupWeights()groupWeights(IResolvable groupWeights) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getGroupWeights()segmentOverrides(List<? extends Object> segmentOverrides) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getSegmentOverrides()segmentOverrides(IResolvable segmentOverrides) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getSegmentOverrides()Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupWeights
@Stability(Stable) public CfnLaunchPropsMixin.StepConfigProperty.Builder groupWeights(IResolvable groupWeights) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getGroupWeights()- Parameters:
groupWeights- An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.- Returns:
this
-
groupWeights
@Stability(Stable) public CfnLaunchPropsMixin.StepConfigProperty.Builder groupWeights(List<? extends Object> groupWeights) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getGroupWeights()- Parameters:
groupWeights- An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.- Returns:
this
-
segmentOverrides
@Stability(Stable) public CfnLaunchPropsMixin.StepConfigProperty.Builder segmentOverrides(IResolvable segmentOverrides) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getSegmentOverrides()- Parameters:
segmentOverrides- An array of structures that you can use to specify different traffic splits for one or more audience segments . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.For more information, see Use segments to focus your audience .
- Returns:
this
-
segmentOverrides
@Stability(Stable) public CfnLaunchPropsMixin.StepConfigProperty.Builder segmentOverrides(List<? extends Object> segmentOverrides) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getSegmentOverrides()- Parameters:
segmentOverrides- An array of structures that you can use to specify different traffic splits for one or more audience segments . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.For more information, see Use segments to focus your audience .
- Returns:
this
-
startTime
@Stability(Stable) public CfnLaunchPropsMixin.StepConfigProperty.Builder startTime(String startTime) Sets the value ofCfnLaunchPropsMixin.StepConfigProperty.getStartTime()- Parameters:
startTime- The date and time to start this step of the launch. Use UTC format,yyyy-MM-ddTHH:mm:ssZ. For example,2025-11-25T23:59:59Z- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchPropsMixin.StepConfigProperty>- Returns:
- a new instance of
CfnLaunchPropsMixin.StepConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-