public EndpointRequest withDemographic(EndpointDemographic demographic) {
        setDemographic(demographic);
        return this;
    }
<p>
The demographic information for the endpoint, such as the time zone and platform.
</p>

@param demographic
       The demographic information for the endpoint, such as the time zone and platform.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/EndpointRequest.java