public void setWeight(Integer weight) {
        this.weight = weight;
    }
<p>
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.
</p>

@param 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.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/RoutingConfigurationListItem.java