public class TelegrafPlugin extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TelegrafPlugin.TypeEnum
Gets or Sets type
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CONFIG |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
TelegrafPlugin() |
| Modifier and Type | Method and Description |
|---|---|
TelegrafPlugin |
config(Map<String,Object> config) |
TelegrafPlugin |
description(String description) |
boolean |
equals(Object o) |
Map<String,Object> |
getConfig()
Get config
|
String |
getDescription()
Get description
|
String |
getName()
Get name
|
TelegrafPlugin.TypeEnum |
getType()
Get type
|
int |
hashCode() |
TelegrafPlugin |
name(String name) |
TelegrafPlugin |
putConfigItem(String key,
Object configItem) |
void |
setConfig(Map<String,Object> config) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setType(TelegrafPlugin.TypeEnum type) |
String |
toString() |
TelegrafPlugin |
type(TelegrafPlugin.TypeEnum type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_CONFIG
public TelegrafPlugin type(TelegrafPlugin.TypeEnum type)
public TelegrafPlugin.TypeEnum getType()
public void setType(TelegrafPlugin.TypeEnum type)
public TelegrafPlugin name(String name)
public String getName()
public void setName(String name)
public TelegrafPlugin description(String description)
public String getDescription()
public void setDescription(String description)
public TelegrafPlugin config(Map<String,Object> config)
public TelegrafPlugin putConfigItem(String key, Object configItem)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.