public MediaCapturePipeline withSinkType(MediaPipelineSinkType sinkType) {
        this.sinkType = sinkType.toString();
        return this;
    }
<p>
Destination type to which the media artifacts are saved. You must use an S3 Bucket.
</p>

@param sinkType
       Destination type to which the media artifacts are saved. You must use an S3 Bucket.
@return Returns a reference to this object so that method calls can be chained together.
@see MediaPipelineSinkType
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/MediaCapturePipeline.java