Class LocalHealthEventsConfig
- java.lang.Object
-
- software.amazon.awssdk.services.internetmonitor.model.LocalHealthEventsConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LocalHealthEventsConfig.Builder,LocalHealthEventsConfig>
@Generated("software.amazon.awssdk:codegen") public final class LocalHealthEventsConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocalHealthEventsConfig.Builder,LocalHealthEventsConfig>
A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance or availability issue, when scores cross a threshold for one or more city-networks.
Defines the percentages, for performance scores or availability scores, that are the local thresholds for when Amazon CloudWatch Internet Monitor creates a health event. Also defines whether a local threshold is enabled or disabled, and the minimum percentage of overall traffic that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a local health event threshold, the default value is 60%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLocalHealthEventsConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalHealthEventsConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublehealthScoreThreshold()The health event threshold percentage set for a local health score.DoubleminTrafficImpact()The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.List<SdkField<?>>sdkFields()static Class<? extends LocalHealthEventsConfig.Builder>serializableBuilderClass()LocalHealthEventsConfigStatusstatus()The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score.StringstatusAsString()The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score.LocalHealthEventsConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final LocalHealthEventsConfigStatus status()
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLEDorDISABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLocalHealthEventsConfigStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of whether Internet Monitor creates a health event based on a threshold percentage set for a
local health score. The status can be
ENABLEDorDISABLED. - See Also:
LocalHealthEventsConfigStatus
-
statusAsString
public final String statusAsString()
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be
ENABLEDorDISABLED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLocalHealthEventsConfigStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of whether Internet Monitor creates a health event based on a threshold percentage set for a
local health score. The status can be
ENABLEDorDISABLED. - See Also:
LocalHealthEventsConfigStatus
-
healthScoreThreshold
public final Double healthScoreThreshold()
The health event threshold percentage set for a local health score.
- Returns:
- The health event threshold percentage set for a local health score.
-
minTrafficImpact
public final Double minTrafficImpact()
The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.1%.
- Returns:
- The minimum percentage of overall traffic for an application that must be impacted by an issue before
Internet Monitor creates an event when a threshold is crossed for a local health score.
If you don't set a minimum traffic impact threshold, the default value is 0.1%.
-
toBuilder
public LocalHealthEventsConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LocalHealthEventsConfig.Builder,LocalHealthEventsConfig>
-
builder
public static LocalHealthEventsConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends LocalHealthEventsConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-