public ComputeEnvironmentDetail withStatus(CEStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The current status of the compute environment (for example, <code>CREATING</code> or <code>VALID</code>).
</p>

@param status
       The current status of the compute environment (for example, <code>CREATING</code> or <code>VALID</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see CEStatus
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/ComputeEnvironmentDetail.java