@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.ConfigurationType
public 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.ConfigurationType
public 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.ConfigurationType
public 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.ConfigurationType
public 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.MetricsLevel
public 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.MetricsLevel
public 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.MetricsLevel
public 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.MetricsLevel
public 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.LogLevel
public String getLogLevel()
Describes the verbosity of the CloudWatch Logs for an application.
LogLevel
public 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.LogLevel
public 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.LogLevel
public String toString()
toString
in class Object
Object.toString()
public MonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.