@Generated(value="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.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocalHealthEventsConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LocalHealthEventsConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
healthScoreThreshold()
The health event threshold percentage set for a local health score.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocalHealthEventsConfig.Builder> |
serializableBuilderClass() |
LocalHealthEventsConfigStatus |
status()
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
String |
statusAsString()
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
LocalHealthEventsConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 ENABLED or DISABLED.
If the service returns an enum value that is not available in the current SDK version, status will
return LocalHealthEventsConfigStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ENABLED or DISABLED.LocalHealthEventsConfigStatuspublic 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 ENABLED or DISABLED.
If the service returns an enum value that is not available in the current SDK version, status will
return LocalHealthEventsConfigStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ENABLED or DISABLED.LocalHealthEventsConfigStatuspublic final Double healthScoreThreshold()
The health event threshold percentage set for a local health score.
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.
public LocalHealthEventsConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LocalHealthEventsConfig.Builder,LocalHealthEventsConfig>public static LocalHealthEventsConfig.Builder builder()
public static Class<? extends LocalHealthEventsConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.