/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.location.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDevicePositionHistoryRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The device whose position history you want to retrieve. *

*/ private String deviceId; /** *

* Specify the end time for the position history in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made. *

*

* Requirement: *

* */ private java.util.Date endTimeExclusive; /** *

* An optional limit for the number of device positions returned in a single call. *

*

* Default value: 100 *

*/ private Integer maxResults; /** *

* The pagination token specifying which page of results to return in the response. If no token is provided, the * default page is the first page. *

*

* Default value: null *

*/ private String nextToken; /** *

* Specify the start time for the position history in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours prior to the time that the request * is made. *

*

* Requirement: *

* */ private java.util.Date startTimeInclusive; /** *

* The tracker resource receiving the request for the device position history. *

*/ private String trackerName; /** *

* The device whose position history you want to retrieve. *

* * @param deviceId * The device whose position history you want to retrieve. */ public void setDeviceId(String deviceId) { this.deviceId = deviceId; } /** *

* The device whose position history you want to retrieve. *

* * @return The device whose position history you want to retrieve. */ public String getDeviceId() { return this.deviceId; } /** *

* The device whose position history you want to retrieve. *

* * @param deviceId * The device whose position history you want to retrieve. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDevicePositionHistoryRequest withDeviceId(String deviceId) { setDeviceId(deviceId); return this; } /** *

* Specify the end time for the position history in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made. *

*

* Requirement: *

* * * @param endTimeExclusive * Specify the end time for the position history in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is * made.

*

* Requirement: *

*