@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() |
copy
public 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()
.
ConfigurationType
public 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()
.
ConfigurationType
public 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()
.
MetricsLevel
public 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()
.
MetricsLevel
public 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()
.
LogLevel
public 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()
.
LogLevel
public MonitoringConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.