public void setSegment(Segment segment) {
        this.segment = segment;
    }
<p>
A structure that contains the complete information about the segment that was just created.
</p>

@param segment
       A structure that contains the complete information about the segment that was just created.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/CreateSegmentResult.java