Interface RoutingConfigurationListItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingConfigurationListItem.Builder,
,RoutingConfigurationListItem> SdkBuilder<RoutingConfigurationListItem.Builder,
,RoutingConfigurationListItem> SdkPojo
- Enclosing class:
RoutingConfigurationListItem
@Mutable
@NotThreadSafe
public static interface RoutingConfigurationListItem.Builder
extends SdkPojo, CopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
-
Method Summary
Modifier and TypeMethodDescriptionstateMachineVersionArn
(String stateMachineVersionArn) The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-