Class GetDevicePositionHistoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.location.model.LocationRequest
-
- software.amazon.awssdk.services.location.model.GetDevicePositionHistoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetDevicePositionHistoryRequest extends LocationRequest implements ToCopyableBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetDevicePositionHistoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetDevicePositionHistoryRequest.Builderbuilder()StringdeviceId()The device whose position history you want to retrieve.InstantendTimeExclusive()Specify the end time for the position history in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()An optional limit for the number of device positions returned in a single call.StringnextToken()The pagination token specifying which page of results to return in the response.List<SdkField<?>>sdkFields()static Class<? extends GetDevicePositionHistoryRequest.Builder>serializableBuilderClass()InstantstartTimeInclusive()Specify the start time for the position history in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.GetDevicePositionHistoryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrackerName()The tracker resource receiving the request for the device position history.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
trackerName
public final String trackerName()
The tracker resource receiving the request for the device position history.
- Returns:
- The tracker resource receiving the request for the device position history.
-
deviceId
public final String deviceId()
The device whose position history you want to retrieve.
- Returns:
- The device whose position history you want to retrieve.
-
nextToken
public final String nextToken()
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- Returns:
- 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
-
startTimeInclusive
public final Instant startTimeInclusive()
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:
-
The time specified for
StartTimeInclusivemust be beforeEndTimeExclusive.
- Returns:
- 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:
-
The time specified for
StartTimeInclusivemust be beforeEndTimeExclusive.
-
-
-
endTimeExclusive
public final Instant 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:
-
The time specified for
EndTimeExclusivemust be after the time forStartTimeInclusive.
- Returns:
- 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:
-
The time specified for
EndTimeExclusivemust be after the time forStartTimeInclusive.
-
-
-
maxResults
public final Integer maxResults()
An optional limit for the number of device positions returned in a single call.
Default value:
100- Returns:
- An optional limit for the number of device positions returned in a single call.
Default value:
100
-
toBuilder
public GetDevicePositionHistoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>- Specified by:
toBuilderin classLocationRequest
-
builder
public static GetDevicePositionHistoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDevicePositionHistoryRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-