Package es.situm.sdk.model.realtime
Class RealTimeData.Builder
- java.lang.Object
-
- es.situm.sdk.model.realtime.RealTimeData.Builder
-
- Enclosing class:
- RealTimeData
public static final class RealTimeData.Builder extends java.lang.Object
Builder to create aRealTimeData
instance
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RealTimeData copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealTimeData
build()
RealTimeData.Builder
locations(java.util.List<Location> locations)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(@NonNull RealTimeData copy)
-
-
Method Detail
-
locations
@NonNull public RealTimeData.Builder locations(@NonNull java.util.List<Location> locations)
- Parameters:
locations
-- Returns:
- current
RealTimeData.Builder
instance
-
build
@NonNull public RealTimeData build()
- Returns:
- a new
RealTimeData
instance
-
-