public void setSegment(Segment segment) {
        this.segment = segment;
    }
<p>
The segment of the table's partitions to scan in this request.
</p>

@param segment
       The segment of the table's partitions to scan in this request.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/GetPartitionsRequest.java