public JobFlowExecutionStatusDetail withState(String state) {
        setState(state);
        return this;
    }
<p>
The state of the job flow.
</p>

@param state
       The state of the job flow.
@return Returns a reference to this object so that method calls can be chained together.
@see JobFlowExecutionState
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/JobFlowExecutionStatusDetail.java