public void setDefineSegment(Boolean defineSegment) {
        this.defineSegment = defineSegment;
    }
<p>
Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are
imported.
</p>

@param defineSegment
       Specifies whether the import job creates a segment that contains the endpoints, when the endpoint
       definitions are imported.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ImportJobResource.java