@Generated(value="software.amazon.awssdk:codegen") public final class MonitoringConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MonitoringConfiguration.Builder,MonitoringConfiguration>
Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application. For more information about CloudWatch logging, see Monitoring.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MonitoringConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MonitoringConfiguration.Builder |
builder() |
ConfigurationType |
configurationType()
Describes whether to use the default CloudWatch logging configuration for an application.
|
String |
configurationTypeAsString()
Describes whether to use the default CloudWatch logging configuration for an application.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LogLevel |
logLevel()
Describes the verbosity of the CloudWatch Logs for an application.
|
String |
logLevelAsString()
Describes the verbosity of the CloudWatch Logs for an application.
|
MetricsLevel |
metricsLevel()
Describes the granularity of the CloudWatch Logs for an application.
|
String |
metricsLevelAsString()
Describes the granularity of the CloudWatch Logs for an application.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MonitoringConfiguration.Builder> |
serializableBuilderClass() |
MonitoringConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic ConfigurationType configurationType()
Describes whether to use the default CloudWatch logging configuration for an application.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
ConfigurationTypepublic String configurationTypeAsString()
Describes whether to use the default CloudWatch logging configuration for an application.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
ConfigurationTypepublic MetricsLevel metricsLevel()
Describes the granularity of the CloudWatch Logs for an application.
If the service returns an enum value that is not available in the current SDK version, metricsLevel will
return MetricsLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricsLevelAsString().
MetricsLevelpublic String metricsLevelAsString()
Describes the granularity of the CloudWatch Logs for an application.
If the service returns an enum value that is not available in the current SDK version, metricsLevel will
return MetricsLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricsLevelAsString().
MetricsLevelpublic LogLevel logLevel()
Describes the verbosity of the CloudWatch Logs for an application.
If the service returns an enum value that is not available in the current SDK version, logLevel will
return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logLevelAsString().
LogLevelpublic String logLevelAsString()
Describes the verbosity of the CloudWatch Logs for an application.
If the service returns an enum value that is not available in the current SDK version, logLevel will
return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
logLevelAsString().
LogLevelpublic MonitoringConfiguration.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<MonitoringConfiguration.Builder,MonitoringConfiguration>public static MonitoringConfiguration.Builder builder()
public static Class<? extends MonitoringConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.