public static class ChefAttributeFeed.Builder
extends java.lang.Object
Constructor and Description |
---|
ChefAttributeFeed.Builder() |
Modifier and Type | Method and Description |
---|---|
ChefAttributeFeed.Builder |
addSensor(ChefAttributePollConfig config) |
ChefAttributeFeed.Builder |
addSensor(java.lang.String chefAttributePath,
AttributeSensor sensor) |
ChefAttributeFeed.Builder |
addSensors(AttributeSensor[] sensors) |
ChefAttributeFeed.Builder |
addSensors(java.lang.Iterable<AttributeSensor> sensors) |
ChefAttributeFeed.Builder |
addSensors(java.util.Map<java.lang.String,AttributeSensor> sensors) |
ChefAttributeFeed |
build() |
ChefAttributeFeed.Builder |
entity(EntityLocal val) |
ChefAttributeFeed.Builder |
nodeName(java.lang.String nodeName) |
ChefAttributeFeed.Builder |
onlyIfServiceUp() |
ChefAttributeFeed.Builder |
onlyIfServiceUp(boolean onlyIfServiceUp) |
ChefAttributeFeed.Builder |
period(Duration period) |
ChefAttributeFeed.Builder |
period(long millis) |
ChefAttributeFeed.Builder |
period(long val,
java.util.concurrent.TimeUnit units) |
ChefAttributeFeed.Builder |
uniqueTag(java.lang.String uniqueTag) |
public ChefAttributeFeed.Builder entity(EntityLocal val)
public ChefAttributeFeed.Builder onlyIfServiceUp()
public ChefAttributeFeed.Builder onlyIfServiceUp(boolean onlyIfServiceUp)
public ChefAttributeFeed.Builder nodeName(java.lang.String nodeName)
public ChefAttributeFeed.Builder addSensor(ChefAttributePollConfig config)
public ChefAttributeFeed.Builder addSensor(java.lang.String chefAttributePath, AttributeSensor sensor)
public ChefAttributeFeed.Builder addSensors(java.util.Map<java.lang.String,AttributeSensor> sensors)
public ChefAttributeFeed.Builder addSensors(AttributeSensor[] sensors)
public ChefAttributeFeed.Builder addSensors(java.lang.Iterable<AttributeSensor> sensors)
public ChefAttributeFeed.Builder period(Duration period)
public ChefAttributeFeed.Builder period(long millis)
public ChefAttributeFeed.Builder period(long val, java.util.concurrent.TimeUnit units)
public ChefAttributeFeed.Builder uniqueTag(java.lang.String uniqueTag)
public ChefAttributeFeed build()