@Beta
public static class Sensors.Builder<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AttributeSensor<T> |
build() |
Sensors.Builder<T> |
description(java.lang.String val) |
Sensors.Builder<T> |
name(java.lang.String val) |
Sensors.Builder<T> |
persistence(AttributeSensor.SensorPersistenceMode val) |
Sensors.Builder<T> |
type(java.lang.Class<T> val) |
Sensors.Builder<T> |
type(com.google.common.reflect.TypeToken<T> val) |
public Sensors.Builder<T> name(java.lang.String val)
public Sensors.Builder<T> type(java.lang.Class<T> val)
public Sensors.Builder<T> type(com.google.common.reflect.TypeToken<T> val)
public Sensors.Builder<T> description(java.lang.String val)
public Sensors.Builder<T> persistence(AttributeSensor.SensorPersistenceMode val)
public AttributeSensor<T> build()