Example usage for com.amazonaws.services.devicefarm.model Location Location

List of usage examples for com.amazonaws.services.devicefarm.model Location Location

Introduction

In this page you can find the example usage for com.amazonaws.services.devicefarm.model Location Location.

Prototype

Location

Source Link

Usage

From source file:org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder.java

License:Open Source License

private Location getScheduleRunConfigurationLocation(Boolean deviceLocation) {
    Location location = new Location();
    if (deviceLocation != null && deviceLocation) {
        location.setLatitude(deviceLatitude);
        location.setLongitude(deviceLongitude);
    } else {/*from  w ww .j  av  a  2 s .co m*/
        location.setLatitude(47.6204);
        location.setLongitude(-122.3491);
    }
    return location;
}