Interface RoutingConfigurationListItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>,SdkBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>,SdkPojo
- Enclosing class:
- RoutingConfigurationListItem
public static interface RoutingConfigurationListItem.Builder extends SdkPojo, CopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutingConfigurationListItem.BuilderstateMachineVersionArn(String stateMachineVersionArn)The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.RoutingConfigurationListItem.Builderweight(Integer weight)The percentage of traffic you want to route to a state machine version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
stateMachineVersionArn
RoutingConfigurationListItem.Builder stateMachineVersionArn(String stateMachineVersionArn)
The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
If you specify the ARN of a second version, it must belong to the same state machine as the first version.
- Parameters:
stateMachineVersionArn- The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.If you specify the ARN of a second version, it must belong to the same state machine as the first version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
RoutingConfigurationListItem.Builder weight(Integer weight)
The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.
- Parameters:
weight- The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-