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

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

Introduction

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

Prototype


public void setLatitude(Double latitude) 

Source Link

Document

The latitude.

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 {//w w  w  . j  a va  2  s .co  m
        location.setLatitude(47.6204);
        location.setLongitude(-122.3491);
    }
    return location;
}