@JsonProperty(PropertyNames.NEXT)
    private void setNext(String nextStateName) {
        transition(NextStateTransition.builder().nextStateName(nextStateName));
    }
Base class for states that allow transitions to either another state or
machine termination.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/builder/states/TransitionStateBuilder.java