@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModuleLoggingConfigurationInput extends Object implements Serializable, Cloneable, StructuredPojo
Defines the type of logs to send for the Apache Airflow log type (e.g. DagProcessingLogs
). Valid values:
CloudWatchLogGroupArn
, Enabled
, LogLevel
.
Constructor and Description |
---|
ModuleLoggingConfigurationInput() |
Modifier and Type | Method and Description |
---|---|
ModuleLoggingConfigurationInput |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether to enable the Apache Airflow log type (e.g.
|
String |
getLogLevel()
Defines the Apache Airflow logs to send for the log type (e.g.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether to enable the Apache Airflow log type (e.g.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Indicates whether to enable the Apache Airflow log type (e.g.
|
void |
setLogLevel(String logLevel)
Defines the Apache Airflow logs to send for the log type (e.g.
|
String |
toString()
Returns a string representation of this object.
|
ModuleLoggingConfigurationInput |
withEnabled(Boolean enabled)
Indicates whether to enable the Apache Airflow log type (e.g.
|
ModuleLoggingConfigurationInput |
withLogLevel(LoggingLevel logLevel)
Defines the Apache Airflow logs to send for the log type (e.g.
|
ModuleLoggingConfigurationInput |
withLogLevel(String logLevel)
Defines the Apache Airflow logs to send for the log type (e.g.
|
public void setEnabled(Boolean enabled)
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in CloudWatch Logs.
enabled
- Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in
CloudWatch Logs.public Boolean getEnabled()
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in CloudWatch Logs.
DagProcessingLogs
) in
CloudWatch Logs.public ModuleLoggingConfigurationInput withEnabled(Boolean enabled)
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in CloudWatch Logs.
enabled
- Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in
CloudWatch Logs.public Boolean isEnabled()
Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs
) in CloudWatch Logs.
DagProcessingLogs
) in
CloudWatch Logs.public void setLogLevel(String logLevel)
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to CloudWatch
Logs. Valid values: CRITICAL
, ERROR
, WARNING
, INFO
.
logLevel
- Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to
CloudWatch Logs. Valid values: CRITICAL
, ERROR
, WARNING
,
INFO
.LoggingLevel
public String getLogLevel()
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to CloudWatch
Logs. Valid values: CRITICAL
, ERROR
, WARNING
, INFO
.
DagProcessingLogs
) to
CloudWatch Logs. Valid values: CRITICAL
, ERROR
, WARNING
,
INFO
.LoggingLevel
public ModuleLoggingConfigurationInput withLogLevel(String logLevel)
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to CloudWatch
Logs. Valid values: CRITICAL
, ERROR
, WARNING
, INFO
.
logLevel
- Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to
CloudWatch Logs. Valid values: CRITICAL
, ERROR
, WARNING
,
INFO
.LoggingLevel
public ModuleLoggingConfigurationInput withLogLevel(LoggingLevel logLevel)
Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to CloudWatch
Logs. Valid values: CRITICAL
, ERROR
, WARNING
, INFO
.
logLevel
- Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs
) to
CloudWatch Logs. Valid values: CRITICAL
, ERROR
, WARNING
,
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.