public UpdateMediaInsightsPipelineConfigurationRequest withElements(java.util.Collection<MediaInsightsPipelineConfigurationElement> elements) {
        setElements(elements);
        return this;
    }
<p>
The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data Stream..
</p>

@param elements
       The elements in the request, such as a processor for Amazon Transcribe or a sink for a Kinesis Data
       Stream..
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/UpdateMediaInsightsPipelineConfigurationRequest.java