public static final class CfnLoggerDefinitionVersion.LoggerProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLoggerDefinitionVersion.LoggerProperty
CfnLoggerDefinitionVersion.LoggerProperty
CfnLoggerDefinitionVersion.LoggerProperty.Builder, CfnLoggerDefinitionVersion.LoggerProperty.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getComponent()
The source of the log event.
|
java.lang.String |
getId()
A descriptive or arbitrary ID for the logger.
|
java.lang.String |
getLevel()
The log-level threshold.
|
java.lang.Number |
getSpace()
The amount of file space (in KB) to use when writing logs to the local file system.
|
java.lang.String |
getType()
The storage mechanism for log events.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getComponent()
CfnLoggerDefinitionVersion.LoggerProperty
Valid values are GreengrassSystem
or Lambda
. When GreengrassSystem
is used, events from Greengrass system components are logged. When Lambda
is used, events from user-defined Lambda functions are logged.
getComponent
in interface CfnLoggerDefinitionVersion.LoggerProperty
public final java.lang.String getId()
CfnLoggerDefinitionVersion.LoggerProperty
This value must be unique within the logger definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+
.
getId
in interface CfnLoggerDefinitionVersion.LoggerProperty
public final java.lang.String getLevel()
CfnLoggerDefinitionVersion.LoggerProperty
Log events below this threshold are filtered out and aren't stored. Valid values are DEBUG
, INFO
(recommended), WARN
, ERROR
, or FATAL
.
getLevel
in interface CfnLoggerDefinitionVersion.LoggerProperty
public final java.lang.String getType()
CfnLoggerDefinitionVersion.LoggerProperty
Valid values are FileSystem
or AWSCloudWatch
. When AWSCloudWatch
is used, log events are sent to CloudWatch Logs . When FileSystem
is used, log events are stored on the local file system.
getType
in interface CfnLoggerDefinitionVersion.LoggerProperty
public final java.lang.Number getSpace()
CfnLoggerDefinitionVersion.LoggerProperty
This property does not apply for CloudWatch Logs .
getSpace
in interface CfnLoggerDefinitionVersion.LoggerProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()