public BuildBatchFilter withStatus(StatusType status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved.
</p>

@param status
       The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved.
@return Returns a reference to this object so that method calls can be chained together.
@see StatusType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/BuildBatchFilter.java