public Builder state(String stateName, State.Builder stateBuilder) {
            this.states.put(stateName, stateBuilder);
            return this;
        }
REQUIRED. Adds a new state to the state machine. A state machine MUST have at least one state.

@param stateName    Name of the state
@param stateBuilder Instance of {@link com.amazonaws.services.stepfunctions.builder.states.State.Builder}. Note that
                    the {@link State}
                    object is not built until the {@link StateMachine} is built so any modifications on the state
                    builder will be reflected in this object.
@return This object for method chaining.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/builder/StateMachine.java