public static final class Measurement.Builder extends Object
Measurement.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Measurement |
build()
Creates a new
Measurement instance using the values in this builder. |
Measurement.Builder |
name(String name)
Sets the name for the measurement to be constructed.
|
Measurement.Builder |
points(List<Point> points)
Sets the points for the measurement to be constructed.
|
public Measurement.Builder name(String name)
name - the measurement namepublic Measurement.Builder points(List<Point> points)
points - the measurement's pointspublic Measurement build()
Measurement instance using the values in this builder.MeasurementCopyright © 2020. All rights reserved.