Package com.chrt.api.types
Class StationaryCluster.Builder
- java.lang.Object
-
- com.chrt.api.types.StationaryCluster.Builder
-
- All Implemented Interfaces:
StationaryCluster._FinalStage,StationaryCluster.CentroidLocationStage,StationaryCluster.EndTimestampStage,StationaryCluster.PointCountStage,StationaryCluster.RadiusMilesStage,StationaryCluster.StartTimestampStage
- Enclosing class:
- StationaryCluster
public static final class StationaryCluster.Builder extends java.lang.Object implements StationaryCluster.StartTimestampStage, StationaryCluster.EndTimestampStage, StationaryCluster.CentroidLocationStage, StationaryCluster.RadiusMilesStage, StationaryCluster.PointCountStage, StationaryCluster._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StationaryClusterbuild()StationaryCluster.RadiusMilesStagecentroidLocation(LocationFeature centroidLocation)StationaryCluster.CentroidLocationStageendTimestamp(java.time.OffsetDateTime endTimestamp)StationaryCluster.Builderfrom(StationaryCluster other)StationaryCluster._FinalStagepointCount(int pointCount)StationaryCluster.PointCountStageradiusMiles(double radiusMiles)StationaryCluster.EndTimestampStagestartTimestamp(java.time.OffsetDateTime startTimestamp)
-
-
-
Method Detail
-
from
public StationaryCluster.Builder from(StationaryCluster other)
- Specified by:
fromin interfaceStationaryCluster.StartTimestampStage
-
startTimestamp
public StationaryCluster.EndTimestampStage startTimestamp(@NotNull java.time.OffsetDateTime startTimestamp)
- Specified by:
startTimestampin interfaceStationaryCluster.StartTimestampStage
-
endTimestamp
public StationaryCluster.CentroidLocationStage endTimestamp(@NotNull java.time.OffsetDateTime endTimestamp)
- Specified by:
endTimestampin interfaceStationaryCluster.EndTimestampStage
-
centroidLocation
public StationaryCluster.RadiusMilesStage centroidLocation(@NotNull LocationFeature centroidLocation)
- Specified by:
centroidLocationin interfaceStationaryCluster.CentroidLocationStage
-
radiusMiles
public StationaryCluster.PointCountStage radiusMiles(double radiusMiles)
- Specified by:
radiusMilesin interfaceStationaryCluster.RadiusMilesStage
-
pointCount
public StationaryCluster._FinalStage pointCount(int pointCount)
- Specified by:
pointCountin interfaceStationaryCluster.PointCountStage
-
build
public StationaryCluster build()
- Specified by:
buildin interfaceStationaryCluster._FinalStage
-
-