@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 a Java-based Kinesis Data Analytics 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) |
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.
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 MonitoringConfiguration 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 MonitoringConfiguration 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 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)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.