@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModuleLoggingConfigurationInput extends Object implements Serializable, Cloneable, StructuredPojo
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Constructor and Description |
---|
ModuleLoggingConfigurationInput() |
Modifier and Type | Method and Description |
---|---|
ModuleLoggingConfigurationInput |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Defines that the logging module is enabled.
|
String |
getLogLevel()
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
int |
hashCode() |
Boolean |
isEnabled()
Defines that the logging module is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Defines that the logging module is enabled.
|
void |
setLogLevel(String logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
String |
toString()
Returns a string representation of this object.
|
ModuleLoggingConfigurationInput |
withEnabled(Boolean enabled)
Defines that the logging module is enabled.
|
ModuleLoggingConfigurationInput |
withLogLevel(LoggingLevel logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
ModuleLoggingConfigurationInput |
withLogLevel(String logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
public void setEnabled(Boolean enabled)
Defines that the logging module is enabled.
enabled
- Defines that the logging module is enabled.public Boolean getEnabled()
Defines that the logging module is enabled.
public ModuleLoggingConfigurationInput withEnabled(Boolean enabled)
Defines that the logging module is enabled.
enabled
- Defines that the logging module is enabled.public Boolean isEnabled()
Defines that the logging module is enabled.
public void setLogLevel(String logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
logLevel
- Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.LoggingLevel
public String getLogLevel()
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
LoggingLevel
public ModuleLoggingConfigurationInput withLogLevel(String logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
logLevel
- Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.LoggingLevel
public ModuleLoggingConfigurationInput withLogLevel(LoggingLevel logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
logLevel
- Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.LoggingLevel
public String toString()
toString
in class Object
Object.toString()
public ModuleLoggingConfigurationInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.