Package com.cercalia.sdk.model.poi
Class WeatherForecast.Builder
java.lang.Object
com.cercalia.sdk.model.poi.WeatherForecast.Builder
- Enclosing class:
- WeatherForecast
Builder for
WeatherForecast.-
Method Summary
Modifier and TypeMethodDescriptionbuild()coord(@NotNull Coordinate coord) forecasts(@NotNull List<WeatherDayForecast> forecasts) lastUpdate(@Nullable String lastUpdate) locationName(@NotNull String locationName)
-
Method Details
-
locationName
- Parameters:
locationName- The location name.- Returns:
- The builder.
-
coord
- Parameters:
coord- The geographic coordinates.- Returns:
- The builder.
-
lastUpdate
- Parameters:
lastUpdate- The last update timestamp.- Returns:
- The builder.
-
forecasts
- Parameters:
forecasts- The list of daily forecasts.- Returns:
- The builder.
-
build
- Returns:
- A new
WeatherForecastinstance.
-