public MediaInsightsPipelineConfiguration withElements(java.util.Collection<MediaInsightsPipelineConfigurationElement> elements) {
        setElements(elements);
        return this;
    }
<p>
The elements in the configuration.
</p>

@param elements
       The elements in the configuration.
@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/MediaInsightsPipelineConfiguration.java