@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModuleLoggingConfiguration 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 |
|---|
ModuleLoggingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ModuleLoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
|
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 |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
|
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.
|
ModuleLoggingConfiguration |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
|
ModuleLoggingConfiguration |
withEnabled(Boolean enabled)
Indicates whether to enable the Apache Airflow log type (e.g.
|
ModuleLoggingConfiguration |
withLogLevel(LoggingLevel logLevel)
Defines the Apache Airflow logs to send for the log type (e.g.
|
ModuleLoggingConfiguration |
withLogLevel(String logLevel)
Defines the Apache Airflow logs to send for the log type (e.g.
|
public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.
cloudWatchLogGroupArn - The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.public String getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.public ModuleLoggingConfiguration withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.
cloudWatchLogGroupArn - The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g.
DagProcessingLogs) is published. For example,
arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*
.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 ModuleLoggingConfiguration 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.LoggingLevelpublic 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.LoggingLevelpublic ModuleLoggingConfiguration 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.LoggingLevelpublic ModuleLoggingConfiguration 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.LoggingLevelpublic String toString()
toString in class ObjectObject.toString()public ModuleLoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.