Interface GetDevicePositionHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDevicePositionHistoryResponse.Builder,
,GetDevicePositionHistoryResponse> LocationResponse.Builder
,SdkBuilder<GetDevicePositionHistoryResponse.Builder,
,GetDevicePositionHistoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDevicePositionHistoryResponse
public static interface GetDevicePositionHistoryResponse.Builder
extends LocationResponse.Builder, SdkPojo, CopyableBuilder<GetDevicePositionHistoryResponse.Builder,GetDevicePositionHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevicePositions
(Collection<DevicePosition> devicePositions) Contains the position history details for the requested device.devicePositions
(Consumer<DevicePosition.Builder>... devicePositions) Contains the position history details for the requested device.devicePositions
(DevicePosition... devicePositions) Contains the position history details for the requested device.A pagination token indicating there are additional pages available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devicePositions
GetDevicePositionHistoryResponse.Builder devicePositions(Collection<DevicePosition> devicePositions) Contains the position history details for the requested device.
- Parameters:
devicePositions
- Contains the position history details for the requested device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePositions
Contains the position history details for the requested device.
- Parameters:
devicePositions
- Contains the position history details for the requested device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePositions
GetDevicePositionHistoryResponse.Builder devicePositions(Consumer<DevicePosition.Builder>... devicePositions) Contains the position history details for the requested device.
This is a convenience method that creates an instance of theDevicePosition.Builder
avoiding the need to create one manually viaDevicePosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevicePositions(List<DevicePosition>)
.- Parameters:
devicePositions
- a consumer that will call methods onDevicePosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- Parameters:
nextToken
- A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-