@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HealthEventsConfig extends Object implements Serializable, Cloneable, StructuredPojo
A complex type with the configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for an overall performance or availability issue, across an application's geographies.
Defines the percentages, for overall performance scores and availability scores for an application, that are the thresholds for when Amazon CloudWatch Internet Monitor creates a health event. You can override the defaults to set a custom threshold for overall performance or availability scores, or both.
You can also set thresholds for local health scores,, where Internet Monitor creates a health event when scores cross a threshold for one or more city-networks, in addition to creating an event when an overall score crosses a threshold.
If you don't set a health event threshold, the default value is 95%.
For local thresholds, you also set a minimum percentage of overall traffic that is impacted by an issue before Internet Monitor creates an event. In addition, you can disable local thresholds, for performance scores, availability scores, or both.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
Constructor and Description |
---|
HealthEventsConfig() |
Modifier and Type | Method and Description |
---|---|
HealthEventsConfig |
clone() |
boolean |
equals(Object obj) |
LocalHealthEventsConfig |
getAvailabilityLocalHealthEventsConfig()
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local availability issue.
|
Double |
getAvailabilityScoreThreshold()
The health event threshold percentage set for availability scores.
|
LocalHealthEventsConfig |
getPerformanceLocalHealthEventsConfig()
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local performance issue.
|
Double |
getPerformanceScoreThreshold()
The health event threshold percentage set for performance scores.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local availability issue.
|
void |
setAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
|
void |
setPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local performance issue.
|
void |
setPerformanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
|
String |
toString()
Returns a string representation of this object.
|
HealthEventsConfig |
withAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local availability issue.
|
HealthEventsConfig |
withAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
|
HealthEventsConfig |
withPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health
event for a local performance issue.
|
HealthEventsConfig |
withPerformanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
|
public void setAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
availabilityScoreThreshold
- The health event threshold percentage set for availability scores.public Double getAvailabilityScoreThreshold()
The health event threshold percentage set for availability scores.
public HealthEventsConfig withAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
availabilityScoreThreshold
- The health event threshold percentage set for availability scores.public void setPerformanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
performanceScoreThreshold
- The health event threshold percentage set for performance scores.public Double getPerformanceScoreThreshold()
The health event threshold percentage set for performance scores.
public HealthEventsConfig withPerformanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
performanceScoreThreshold
- The health event threshold percentage set for performance scores.public void setAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
availabilityLocalHealthEventsConfig
- The configuration that determines the threshold and other conditions for when Internet Monitor creates a
health event for a local availability issue.public LocalHealthEventsConfig getAvailabilityLocalHealthEventsConfig()
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
public HealthEventsConfig withAvailabilityLocalHealthEventsConfig(LocalHealthEventsConfig availabilityLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue.
availabilityLocalHealthEventsConfig
- The configuration that determines the threshold and other conditions for when Internet Monitor creates a
health event for a local availability issue.public void setPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
performanceLocalHealthEventsConfig
- The configuration that determines the threshold and other conditions for when Internet Monitor creates a
health event for a local performance issue.public LocalHealthEventsConfig getPerformanceLocalHealthEventsConfig()
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
public HealthEventsConfig withPerformanceLocalHealthEventsConfig(LocalHealthEventsConfig performanceLocalHealthEventsConfig)
The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue.
performanceLocalHealthEventsConfig
- The configuration that determines the threshold and other conditions for when Internet Monitor creates a
health event for a local performance issue.public String toString()
toString
in class Object
Object.toString()
public HealthEventsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.