public ListFragmentsResult withFragments(Fragment... fragments) {
        if (this.fragments == null) {
            setFragments(new java.util.ArrayList<Fragment>(fragments.length));
        }
        for (Fragment ele : fragments) {
            this.fragments.add(ele);
        }
        return this;
    }
<p>
A list of archived <a>Fragment</a> objects from the stream that meet the selector criteria. Results are in no
specific order, even across pages.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFragments(java.util.Collection)} or {@link #withFragments(java.util.Collection)} if you want to
override the existing values.
</p>

@param fragments
       A list of archived <a>Fragment</a> objects from the stream that meet the selector criteria. Results are in
       no specific order, even across pages.
@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/ListFragmentsResult.java