@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringConfigurationDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes configuration parameters for CloudWatch logging for an application.
| Constructor and Description |
|---|
MonitoringConfigurationDescription() |
| Modifier and Type | Method and Description |
|---|---|
MonitoringConfigurationDescription |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationType()
Describes whether to use the default CloudWatch logging configuration for an application.
|
String |
getLogLevel()
Describes the verbosity of the CloudWatch Logs for an application.
|
String |
getMetricsLevel()
Describes the granularity of the CloudWatch Logs for an application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
|
void |
setLogLevel(String logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
|
void |
setMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
|
String |
toString()
Returns a string representation of this object.
|
MonitoringConfigurationDescription |
withConfigurationType(ConfigurationType configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
|
MonitoringConfigurationDescription |
withConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
|
MonitoringConfigurationDescription |
withLogLevel(LogLevel logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
|
MonitoringConfigurationDescription |
withLogLevel(String logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
|
MonitoringConfigurationDescription |
withMetricsLevel(MetricsLevel metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
|
MonitoringConfigurationDescription |
withMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
|
public void setConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application.ConfigurationTypepublic String getConfigurationType()
Describes whether to use the default CloudWatch logging configuration for an application.
ConfigurationTypepublic MonitoringConfigurationDescription withConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application.ConfigurationTypepublic MonitoringConfigurationDescription withConfigurationType(ConfigurationType configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application.ConfigurationTypepublic void setMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application.MetricsLevelpublic String getMetricsLevel()
Describes the granularity of the CloudWatch Logs for an application.
MetricsLevelpublic MonitoringConfigurationDescription withMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application.MetricsLevelpublic MonitoringConfigurationDescription withMetricsLevel(MetricsLevel metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application.MetricsLevelpublic void setLogLevel(String logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
logLevel - Describes the verbosity of the CloudWatch Logs for an application.LogLevelpublic String getLogLevel()
Describes the verbosity of the CloudWatch Logs for an application.
LogLevelpublic MonitoringConfigurationDescription withLogLevel(String logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
logLevel - Describes the verbosity of the CloudWatch Logs for an application.LogLevelpublic MonitoringConfigurationDescription withLogLevel(LogLevel logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
logLevel - Describes the verbosity of the CloudWatch Logs for an application.LogLevelpublic String toString()
toString in class ObjectObject.toString()public MonitoringConfigurationDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.