Interface GetDevicePositionHistoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>,LocationRequest.Builder,SdkBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetDevicePositionHistoryRequest
public static interface GetDevicePositionHistoryRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<GetDevicePositionHistoryRequest.Builder,GetDevicePositionHistoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDevicePositionHistoryRequest.BuilderdeviceId(String deviceId)The device whose position history you want to retrieve.GetDevicePositionHistoryRequest.BuilderendTimeExclusive(Instant endTimeExclusive)Specify the end time for the position history in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.GetDevicePositionHistoryRequest.BuildermaxResults(Integer maxResults)An optional limit for the number of device positions returned in a single call.GetDevicePositionHistoryRequest.BuildernextToken(String nextToken)The pagination token specifying which page of results to return in the response.GetDevicePositionHistoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetDevicePositionHistoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetDevicePositionHistoryRequest.BuilderstartTimeInclusive(Instant startTimeInclusive)Specify the start time for the position history in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.GetDevicePositionHistoryRequest.BuildertrackerName(String trackerName)The tracker resource receiving the request for the device position history.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
trackerName
GetDevicePositionHistoryRequest.Builder trackerName(String trackerName)
The tracker resource receiving the request for the device position history.
- Parameters:
trackerName- The tracker resource receiving the request for the device position history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceId
GetDevicePositionHistoryRequest.Builder deviceId(String deviceId)
The device whose position history you want to retrieve.
- Parameters:
deviceId- The device whose position history you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetDevicePositionHistoryRequest.Builder nextToken(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- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeInclusive
GetDevicePositionHistoryRequest.Builder startTimeInclusive(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
endTimeExclusive
GetDevicePositionHistoryRequest.Builder endTimeExclusive(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
maxResults
GetDevicePositionHistoryRequest.Builder maxResults(Integer maxResults)
An optional limit for the number of device positions returned in a single call.
Default value:
100- Parameters:
maxResults- An optional limit for the number of device positions returned in a single call.Default value:
100- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDevicePositionHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetDevicePositionHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-