public DescribeDataSharesForConsumerRequest withStatus(DataShareStatusForConsumer status) {
        this.status = status.toString();
        return this;
    }
<p>
An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon
Redshift returns the list of datashares that have the specified status.
</p>

@param status
       An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon
       Redshift returns the list of datashares that have the specified status.
@return Returns a reference to this object so that method calls can be chained together.
@see DataShareStatusForConsumer
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/DescribeDataSharesForConsumerRequest.java