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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDevicePositionHistoryResponse.BuilderdevicePositions(Collection<DevicePosition> devicePositions)Contains the position history details for the requested device.GetDevicePositionHistoryResponse.BuilderdevicePositions(Consumer<DevicePosition.Builder>... devicePositions)Contains the position history details for the requested device.GetDevicePositionHistoryResponse.BuilderdevicePositions(DevicePosition... devicePositions)Contains the position history details for the requested device.GetDevicePositionHistoryResponse.BuildernextToken(String nextToken)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 Detail
-
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
GetDevicePositionHistoryResponse.Builder devicePositions(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
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.Builderavoiding the need to create one manually viaDevicePosition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devicePositions(List.) - 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:
#devicePositions(java.util.Collection)
-
nextToken
GetDevicePositionHistoryResponse.Builder nextToken(String 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.
-
-