Interface ForecastGeofenceEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ForecastGeofenceEventsResponse.Builder,ForecastGeofenceEventsResponse>,LocationResponse.Builder,SdkBuilder<ForecastGeofenceEventsResponse.Builder,ForecastGeofenceEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ForecastGeofenceEventsResponse
public static interface ForecastGeofenceEventsResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<ForecastGeofenceEventsResponse.Builder,ForecastGeofenceEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ForecastGeofenceEventsResponse.BuilderdistanceUnit(String distanceUnit)The distance unit for the forecasted events.ForecastGeofenceEventsResponse.BuilderdistanceUnit(DistanceUnit distanceUnit)The distance unit for the forecasted events.ForecastGeofenceEventsResponse.BuilderforecastedEvents(Collection<ForecastedEvent> forecastedEvents)The list of forecasted events.ForecastGeofenceEventsResponse.BuilderforecastedEvents(Consumer<ForecastedEvent.Builder>... forecastedEvents)The list of forecasted events.ForecastGeofenceEventsResponse.BuilderforecastedEvents(ForecastedEvent... forecastedEvents)The list of forecasted events.ForecastGeofenceEventsResponse.BuildernextToken(String nextToken)The pagination token specifying which page of results to return in the response.ForecastGeofenceEventsResponse.BuilderspeedUnit(String speedUnit)The speed unit for the forecasted events.ForecastGeofenceEventsResponse.BuilderspeedUnit(SpeedUnit speedUnit)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ForecastGeofenceEventsResponse.Builder forecastedEvents(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
ForecastGeofenceEventsResponse.Builder forecastedEvents(Consumer<ForecastedEvent.Builder>... forecastedEvents)
The list of forecasted events.
This is a convenience method that creates an instance of theForecastedEvent.Builderavoiding the need to create one manually viaForecastedEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#forecastedEvents(List.) - 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:
#forecastedEvents(java.util.Collection)
-
nextToken
ForecastGeofenceEventsResponse.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.
- 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
ForecastGeofenceEventsResponse.Builder distanceUnit(String 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,DistanceUnit
-
distanceUnit
ForecastGeofenceEventsResponse.Builder distanceUnit(DistanceUnit 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,DistanceUnit
-
speedUnit
ForecastGeofenceEventsResponse.Builder speedUnit(String speedUnit)
The speed unit for the forecasted events.
-
speedUnit
ForecastGeofenceEventsResponse.Builder speedUnit(SpeedUnit speedUnit)
The speed unit for the forecasted events.
-
-