public MediaCapturePipeline withStatus(MediaPipelineStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the media pipeline.
</p>

@param status
       The status of the media pipeline.
@return Returns a reference to this object so that method calls can be chained together.
@see MediaPipelineStatus
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/MediaCapturePipeline.java