@JsonProperty(PropertyNames.END)
    private void setEnd(boolean isEnd) {
        if (isEnd) {
            transition(EndTransition.builder());
        }
    }
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