public SegmentsResponse withItem(SegmentResponse... item) {
        if (this.item == null) {
            setItem(new java.util.ArrayList<SegmentResponse>(item.length));
        }
        for (SegmentResponse ele : item) {
            this.item.add(ele);
        }
        return this;
    }
<p>
An array of responses, one for each segment that's associated with the application (Segments resource) or each
version of a segment that's associated with the application (Segment Versions resource).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setItem(java.util.Collection)} or {@link #withItem(java.util.Collection)} if you want to override the
existing values.
</p>

@param item
       An array of responses, one for each segment that's associated with the application (Segments resource) or
       each version of a segment that's associated with the application (Segment Versions resource).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SegmentsResponse.java