public DescribeTrafficMirrorSessionsRequest withTrafficMirrorSessionIds(String... trafficMirrorSessionIds) {
        if (this.trafficMirrorSessionIds == null) {
            setTrafficMirrorSessionIds(new com.amazonaws.internal.SdkInternalList<String>(trafficMirrorSessionIds.length));
        }
        for (String ele : trafficMirrorSessionIds) {
            this.trafficMirrorSessionIds.add(ele);
        }
        return this;
    }
<p>
The ID of the Traffic Mirror session.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTrafficMirrorSessionIds(java.util.Collection)} or
{@link #withTrafficMirrorSessionIds(java.util.Collection)} if you want to override the existing values.
</p>

@param trafficMirrorSessionIds
       The ID of the Traffic Mirror session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeTrafficMirrorSessionsRequest.java