public void setDemographic(SegmentDemographics demographic) {
        this.demographic = demographic;
    }
<p>
The demographic-based criteria, such as device platform, for the segment.
</p>

@param demographic
       The demographic-based criteria, such as device platform, for the segment.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SegmentDimensions.java