public ListSegmentsResult withSegments(java.util.Collection<Segment> segments) {
        setSegments(segments);
        return this;
    }
<p>
An array of structures that contain information about the segments in this Region.
</p>

@param segments
       An array of structures that contain information about the segments in this Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/ListSegmentsResult.java