public SegmentsResponse withItem(java.util.Collection<SegmentResponse> item) {
        setItem(item);
        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>

@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