@Stability(value=Experimental) @Internal public static final class GelfLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GelfLogDriverProps
GelfLogDriverPropssoftware.amazon.jsii.JsiiObject.InitializationModeGelfLogDriverProps.Builder, GelfLogDriverProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String address,
Number compressionLevel,
GelfCompressionType compressionType,
Number tcpMaxReconnect,
Duration tcpReconnectDelay,
List<String> env,
String envRegex,
List<String> labels,
String tag)
Constructor that initializes the object based on literal property values passed by the
GelfLogDriverProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAddress()
(experimental) The address of the GELF server.
|
Number |
getCompressionLevel()
(experimental) UDP Only The level of compression when gzip or zlib is the gelf-compression-type.
|
GelfCompressionType |
getCompressionType()
(experimental) UDP Only The type of compression the GELF driver uses to compress each log message.
|
List<String> |
getEnv()
(experimental) The env option takes an array of keys.
|
String |
getEnvRegex()
(experimental) The env-regex option is similar to and compatible with env.
|
List<String> |
getLabels()
(experimental) The labels option takes an array of keys.
|
String |
getTag()
(experimental) By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
Number |
getTcpMaxReconnect()
(experimental) TCP Only The maximum number of reconnection attempts when the connection drop.
|
Duration |
getTcpReconnectDelay()
(experimental) TCP Only The number of seconds to wait between reconnection attempts.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String address, Number compressionLevel, GelfCompressionType compressionType, Number tcpMaxReconnect, Duration tcpReconnectDelay, List<String> env, String envRegex, List<String> labels, String tag)
GelfLogDriverProps.Builder.public final String getAddress()
GelfLogDriverPropstcp and udp are the only supported URI specifier and you must specify the port.
getAddress in interface GelfLogDriverPropspublic final Number getCompressionLevel()
GelfLogDriverPropsAn integer in the range of -1 to 9 (BestCompression). Higher levels provide more compression at lower speed. Either -1 or 0 disables compression.
Default: - 1
getCompressionLevel in interface GelfLogDriverPropspublic final GelfCompressionType getCompressionType()
GelfLogDriverPropsAllowed values are gzip, zlib and none.
Default: - gzip
getCompressionType in interface GelfLogDriverPropspublic final Number getTcpMaxReconnect()
GelfLogDriverPropsA positive integer.
Default: - 3
getTcpMaxReconnect in interface GelfLogDriverPropspublic final Duration getTcpReconnectDelay()
GelfLogDriverPropsA positive integer.
Default: - 1
getTcpReconnectDelay in interface GelfLogDriverPropspublic final List<String> getEnv()
BaseLogDriverPropsIf there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.
Default: - No env
getEnv in interface BaseLogDriverPropspublic final String getEnvRegex()
BaseLogDriverPropsIts value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.
Default: - No envRegex
getEnvRegex in interface BaseLogDriverPropspublic final List<String> getLabels()
BaseLogDriverPropsIf there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.
Default: - No labels
getLabels in interface BaseLogDriverPropspublic final String getTag()
BaseLogDriverPropsRefer to the log tag option documentation for customizing the log tag format.
Default: - The first 12 characters of the container ID
getTag in interface BaseLogDriverProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.