public SegmentLocation getLocation() {
        return this.location;
    }
<p>
The location-based criteria, such as region or GPS coordinates, for the segment.
</p>

@return The location-based criteria, such as region or GPS coordinates, for the segment.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SegmentDimensions.java