@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 an 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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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().
CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic final String configurationTypeAsString()
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.
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().
CUSTOM in order to set the LogLevel or
MetricsLevel parameters.ConfigurationTypepublic final 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.
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().
Parallelism level
is not recommended for applications with a Parallelism over 64 due to excessive costs.MetricsLevelpublic final String metricsLevelAsString()
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.
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().
Parallelism level
is not recommended for applications with a Parallelism over 64 due to excessive costs.MetricsLevelpublic final 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 final 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()
toBuilder in interface ToCopyableBuilder<MonitoringConfiguration.Builder,MonitoringConfiguration>public static MonitoringConfiguration.Builder builder()
public static Class<? extends MonitoringConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.