public static final class CfnLaunch.GroupToWeightProperty.Builder
extends java.lang.Object
CfnLaunch.GroupToWeightProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunch.GroupToWeightProperty |
build()
Builds the configured instance.
|
CfnLaunch.GroupToWeightProperty.Builder |
groupName(java.lang.String groupName)
Sets the value of
CfnLaunch.GroupToWeightProperty.getGroupName() |
CfnLaunch.GroupToWeightProperty.Builder |
splitWeight(java.lang.Number splitWeight)
Sets the value of
CfnLaunch.GroupToWeightProperty.getSplitWeight() |
public CfnLaunch.GroupToWeightProperty.Builder groupName(java.lang.String groupName)
CfnLaunch.GroupToWeightProperty.getGroupName()
groupName
- The name of the launch group. This parameter is required.
It can include up to 127 characters.this
public CfnLaunch.GroupToWeightProperty.Builder splitWeight(java.lang.Number splitWeight)
CfnLaunch.GroupToWeightProperty.getSplitWeight()
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.this
public CfnLaunch.GroupToWeightProperty build()
CfnLaunch.GroupToWeightProperty
java.lang.NullPointerException
- if any required attribute was not provided