@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoringConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes configuration parameters for Amazon CloudWatch logging for an application. For more information about CloudWatch logging, see Monitoring.
| Constructor and Description |
|---|
MonitoringConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
MonitoringConfiguration |
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.
|
MonitoringConfiguration |
withConfigurationType(ConfigurationType configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
|
MonitoringConfiguration |
withConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application.
|
MonitoringConfiguration |
withLogLevel(LogLevel logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
|
MonitoringConfiguration |
withLogLevel(String logLevel)
Describes the verbosity of the CloudWatch Logs for an application.
|
MonitoringConfiguration |
withMetricsLevel(MetricsLevel metricsLevel)
Describes the granularity of the CloudWatch Logs for an application.
|
MonitoringConfiguration |
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. You must set this
property to CUSTOM in order to set the LogLevel or MetricsLevel
parameters.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application. You must set
this property to CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic String getConfigurationType()
Describes whether to use the default CloudWatch logging configuration for an application. You must set this
property to CUSTOM in order to set the LogLevel or MetricsLevel
parameters.
CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic MonitoringConfiguration withConfigurationType(String configurationType)
Describes whether to use the default CloudWatch logging configuration for an application. You must set this
property to CUSTOM in order to set the LogLevel or MetricsLevel
parameters.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application. You must set
this property to CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic MonitoringConfiguration withConfigurationType(ConfigurationType configurationType)
Describes whether to use the default CloudWatch logging configuration for an application. You must set this
property to CUSTOM in order to set the LogLevel or MetricsLevel
parameters.
configurationType - Describes whether to use the default CloudWatch logging configuration for an application. You must set
this property to CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic void setMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not
recommended for applications with a Parallelism over 64 due to excessive costs.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is
not recommended for applications with a Parallelism over 64 due to excessive costs.MetricsLevelpublic String getMetricsLevel()
Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not
recommended for applications with a Parallelism over 64 due to excessive costs.
Parallelism level
is not recommended for applications with a Parallelism over 64 due to excessive costs.MetricsLevelpublic MonitoringConfiguration withMetricsLevel(String metricsLevel)
Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not
recommended for applications with a Parallelism over 64 due to excessive costs.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is
not recommended for applications with a Parallelism over 64 due to excessive costs.MetricsLevelpublic MonitoringConfiguration withMetricsLevel(MetricsLevel metricsLevel)
Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not
recommended for applications with a Parallelism over 64 due to excessive costs.
metricsLevel - Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is
not recommended for applications with a Parallelism over 64 due to excessive costs.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 MonitoringConfiguration 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 MonitoringConfiguration 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 MonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.