Class CfnLaunch.GroupToWeightProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evidently.CfnLaunch.GroupToWeightProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunch.GroupToWeightProperty>
- Enclosing interface:
CfnLaunch.GroupToWeightProperty
@Stability(Stable)
public static final class CfnLaunch.GroupToWeightProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunch.GroupToWeightProperty>
A builder for
CfnLaunch.GroupToWeightProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLaunch.GroupToWeightProperty.getGroupName()
splitWeight
(Number splitWeight) Sets the value ofCfnLaunch.GroupToWeightProperty.getSplitWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupName
Sets the value ofCfnLaunch.GroupToWeightProperty.getGroupName()
- Parameters:
groupName
- The name of the launch group. This parameter is required. It can include up to 127 characters.- Returns:
this
-
splitWeight
Sets the value ofCfnLaunch.GroupToWeightProperty.getSplitWeight()
- Parameters:
splitWeight
- The portion of launch traffic to allocate to this launch group. This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunch.GroupToWeightProperty>
- Returns:
- a new instance of
CfnLaunch.GroupToWeightProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-