public static class ZabbixFeed.Builder<T extends ZabbixFeed,B extends ZabbixFeed.Builder<T,B>>
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
baseUri(<any> val) |
B |
baseUrl(java.net.URL val) |
T |
build() |
B |
entity(EntityLocal val) |
B |
groupId(java.lang.Integer groupId) |
B |
password(java.lang.String password) |
B |
period(long millis) |
B |
period(long val,
java.util.concurrent.TimeUnit units) |
B |
poll(ZabbixPollConfig<?> config) |
B |
register(java.lang.Integer groupId,
java.lang.Integer templateId) |
B |
server(ZabbixServer server) |
B |
sessionTimeout(java.lang.Integer sessionTimeout) |
B |
suspended() |
B |
suspended(boolean startsSuspended) |
B |
templateId(java.lang.Integer templateId) |
B |
uniqueHostnameGenerator(<any> val)
For generating the name to be used when registering the zabbix agent with the zabbix server.
|
ZabbixFeed.Builder |
uniqueTag(java.lang.String uniqueTag) |
B |
username(java.lang.String username) |
public B entity(EntityLocal val)
public B baseUri(<any> val)
public B baseUrl(java.net.URL val)
public B period(long millis)
public B period(long val, java.util.concurrent.TimeUnit units)
public B poll(ZabbixPollConfig<?> config)
public B suspended()
public B suspended(boolean startsSuspended)
public B server(ZabbixServer server)
public B username(java.lang.String username)
public B password(java.lang.String password)
public B sessionTimeout(java.lang.Integer sessionTimeout)
public B groupId(java.lang.Integer groupId)
public B templateId(java.lang.Integer templateId)
public B register(java.lang.Integer groupId, java.lang.Integer templateId)
public B uniqueHostnameGenerator(<any> val)
MachineLocation
(see Entity.getLocations()
).
Must return a non-empty string that will be unique across all machines where zabbix agents are installed.public ZabbixFeed.Builder uniqueTag(java.lang.String uniqueTag)
public T build()