public GetMediaForFragmentListRequest withFragments(java.util.Collection<String> fragments) {
        setFragments(fragments);
        return this;
    }
<p>
A list of the numbers of fragments for which to retrieve media. You retrieve these values with
<a>ListFragments</a>.
</p>

@param fragments
       A list of the numbers of fragments for which to retrieve media. You retrieve these values with
       <a>ListFragments</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesisvideo/src/main/java/com/amazonaws/services/kinesisvideo/model/GetMediaForFragmentListRequest.java