Interface ForecastGeofenceEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ForecastGeofenceEventsResponse.Builder,
,ForecastGeofenceEventsResponse> LocationResponse.Builder
,SdkBuilder<ForecastGeofenceEventsResponse.Builder,
,ForecastGeofenceEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ForecastGeofenceEventsResponse
@Mutable
@NotThreadSafe
public static interface ForecastGeofenceEventsResponse.Builder
extends LocationResponse.Builder, SdkPojo, CopyableBuilder<ForecastGeofenceEventsResponse.Builder,ForecastGeofenceEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistanceUnit
(String distanceUnit) The distance unit for the forecasted events.distanceUnit
(DistanceUnit distanceUnit) The distance unit for the forecasted events.forecastedEvents
(Collection<ForecastedEvent> forecastedEvents) The list of forecasted events.forecastedEvents
(Consumer<ForecastedEvent.Builder>... forecastedEvents) The list of forecasted events.forecastedEvents
(ForecastedEvent... forecastedEvents) The list of forecasted events.The pagination token specifying which page of results to return in the response.The speed unit for the forecasted events.The speed unit for the forecasted events.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
forecastedEvents
ForecastGeofenceEventsResponse.Builder forecastedEvents(Collection<ForecastedEvent> forecastedEvents) The list of forecasted events.
- Parameters:
forecastedEvents
- The list of forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastedEvents
The list of forecasted events.
- Parameters:
forecastedEvents
- The list of forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastedEvents
ForecastGeofenceEventsResponse.Builder forecastedEvents(Consumer<ForecastedEvent.Builder>... forecastedEvents) The list of forecasted events.
This is a convenience method that creates an instance of theForecastedEvent.Builder
avoiding the need to create one manually viaForecastedEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toforecastedEvents(List<ForecastedEvent>)
.- Parameters:
forecastedEvents
- a consumer that will call methods onForecastedEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distanceUnit
The distance unit for the forecasted events.
- Parameters:
distanceUnit
- The distance unit for the forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distanceUnit
The distance unit for the forecasted events.
- Parameters:
distanceUnit
- The distance unit for the forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speedUnit
The speed unit for the forecasted events.
- Parameters:
speedUnit
- The speed unit for the forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speedUnit
The speed unit for the forecasted events.
- Parameters:
speedUnit
- The speed unit for the forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-