public static class DeviceLocationCreateRequest.Builder extends DeviceEventCreateRequest.Builder<DeviceLocationCreateRequest>
Constructor and Description |
---|
Builder(double latitude,
double longitude) |
Modifier and Type | Method and Description |
---|---|
DeviceLocationCreateRequest |
build() |
DeviceLocationCreateRequest |
getRequest() |
DeviceLocationCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
DeviceLocationCreateRequest.Builder |
withElevation(double value) |
on, trackState
public DeviceLocationCreateRequest.Builder withElevation(double value)
public DeviceLocationCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public DeviceLocationCreateRequest getRequest()
getRequest
in class DeviceEventCreateRequest.Builder<DeviceLocationCreateRequest>
public DeviceLocationCreateRequest build()
build
in class DeviceEventCreateRequest.Builder<DeviceLocationCreateRequest>