public class LogstashFraction extends Object implements Fraction<LogstashFraction>
Constructor and Description |
---|
LogstashFraction() |
LogstashFraction(String nodeKey,
String nodeValue) |
Modifier and Type | Method and Description |
---|---|
static Fraction |
createDefaultLogstashFraction() |
boolean |
enabled() |
LogstashFraction |
enabled(boolean enable) |
Properties |
formatterProperties() |
String |
hostname() |
LogstashFraction |
hostname(String hostname) |
Level |
level() |
LogstashFraction |
level(Level level) |
LogstashFraction |
metadata(String key,
String value) |
int |
port() |
LogstashFraction |
port(int port) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDefaults, applyDefaults
public static Fraction createDefaultLogstashFraction()
public LogstashFraction level(Level level)
public Level level()
public LogstashFraction hostname(String hostname)
public String hostname()
public LogstashFraction port(int port)
public int port()
public Properties formatterProperties()
public LogstashFraction metadata(String key, String value)
public LogstashFraction enabled(boolean enable)
public boolean enabled()
Copyright © 2019 JBoss by Red Hat. All rights reserved.