@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModuleLoggingConfiguration 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 |
---|
ModuleLoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
ModuleLoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupArn()
Provides the ARN for the CloudWatch group where the logs will be published.
|
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) |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Provides the ARN for the CloudWatch group where the logs will be published.
|
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.
|
ModuleLoggingConfiguration |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Provides the ARN for the CloudWatch group where the logs will be published.
|
ModuleLoggingConfiguration |
withEnabled(Boolean enabled)
Defines that the logging module is enabled.
|
ModuleLoggingConfiguration |
withLogLevel(LoggingLevel logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
ModuleLoggingConfiguration |
withLogLevel(String logLevel)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
|
public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Provides the ARN for the CloudWatch group where the logs will be published.
cloudWatchLogGroupArn
- Provides the ARN for the CloudWatch group where the logs will be published.public String getCloudWatchLogGroupArn()
Provides the ARN for the CloudWatch group where the logs will be published.
public ModuleLoggingConfiguration withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Provides the ARN for the CloudWatch group where the logs will be published.
cloudWatchLogGroupArn
- Provides the ARN for the CloudWatch group where the logs will be published.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 ModuleLoggingConfiguration 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 ModuleLoggingConfiguration 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 ModuleLoggingConfiguration 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 ModuleLoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.