Class CfnLaunchPropsMixin.GroupToWeightProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnLaunchPropsMixin.GroupToWeightProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchPropsMixin.GroupToWeightProperty>
- Enclosing interface:
CfnLaunchPropsMixin.GroupToWeightProperty
@Stability(Stable)
public static final class CfnLaunchPropsMixin.GroupToWeightProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchPropsMixin.GroupToWeightProperty>
A builder for
CfnLaunchPropsMixin.GroupToWeightProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLaunchPropsMixin.GroupToWeightProperty.getGroupName()splitWeight(Number splitWeight) Sets the value ofCfnLaunchPropsMixin.GroupToWeightProperty.getSplitWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupName
@Stability(Stable) public CfnLaunchPropsMixin.GroupToWeightProperty.Builder groupName(String groupName) Sets the value ofCfnLaunchPropsMixin.GroupToWeightProperty.getGroupName()- Parameters:
groupName- The name of the launch group. It can include up to 127 characters.- Returns:
this
-
splitWeight
@Stability(Stable) public CfnLaunchPropsMixin.GroupToWeightProperty.Builder splitWeight(Number splitWeight) Sets the value ofCfnLaunchPropsMixin.GroupToWeightProperty.getSplitWeight()- Parameters:
splitWeight- The portion of launch traffic to allocate to this launch group. This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the launch audience to this launch group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchPropsMixin.GroupToWeightProperty>- Returns:
- a new instance of
CfnLaunchPropsMixin.GroupToWeightProperty - Throws:
NullPointerException- if any required attribute was not provided
-