Class MonitoringConfiguration

    • Method Detail

      • configurationType

        public 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().

        Returns:
        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.
        See Also:
        ConfigurationType
      • configurationTypeAsString

        public 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().

        Returns:
        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.
        See Also:
        ConfigurationType
      • metricsLevel

        public 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().

        Returns:
        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.
        See Also:
        MetricsLevel
      • metricsLevelAsString

        public 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().

        Returns:
        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.
        See Also:
        MetricsLevel
      • logLevel

        public 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().

        Returns:
        Describes the verbosity of the CloudWatch Logs for an application.
        See Also:
        LogLevel
      • logLevelAsString

        public 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().

        Returns:
        Describes the verbosity of the CloudWatch Logs for an application.
        See Also:
        LogLevel
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)