Interface RoutingConfigurationListItem.Builder

    • 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 the second 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 the second 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.