@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalHealthEventsConfig 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 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.
Constructor and Description |
---|
LocalHealthEventsConfig() |
Modifier and Type | Method and Description |
---|---|
LocalHealthEventsConfig |
clone() |
boolean |
equals(Object obj) |
Double |
getHealthScoreThreshold()
The health event threshold percentage set for a local health score.
|
Double |
getMinTrafficImpact()
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.
|
String |
getStatus()
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHealthScoreThreshold(Double healthScoreThreshold)
The health event threshold percentage set for a local health score.
|
void |
setMinTrafficImpact(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.
|
void |
setStatus(String status)
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
String |
toString()
Returns a string representation of this object.
|
LocalHealthEventsConfig |
withHealthScoreThreshold(Double healthScoreThreshold)
The health event threshold percentage set for a local health score.
|
LocalHealthEventsConfig |
withMinTrafficImpact(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.
|
LocalHealthEventsConfig |
withStatus(LocalHealthEventsConfigStatus status)
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
LocalHealthEventsConfig |
withStatus(String status)
The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local
health score.
|
public void setStatus(String 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
.
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
.LocalHealthEventsConfigStatus
public String getStatus()
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
.
ENABLED
or DISABLED
.LocalHealthEventsConfigStatus
public LocalHealthEventsConfig withStatus(String 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
.
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
.LocalHealthEventsConfigStatus
public LocalHealthEventsConfig withStatus(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
.
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
.LocalHealthEventsConfigStatus
public void setHealthScoreThreshold(Double healthScoreThreshold)
The health event threshold percentage set for a local health score.
healthScoreThreshold
- The health event threshold percentage set for a local health score.public Double getHealthScoreThreshold()
The health event threshold percentage set for a local health score.
public LocalHealthEventsConfig withHealthScoreThreshold(Double healthScoreThreshold)
The health event threshold percentage set for a local health score.
healthScoreThreshold
- The health event threshold percentage set for a local health score.public void setMinTrafficImpact(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%.
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%.
public Double getMinTrafficImpact()
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%.
If you don't set a minimum traffic impact threshold, the default value is 0.1%.
public LocalHealthEventsConfig withMinTrafficImpact(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%.
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%.
public String toString()
toString
in class Object
Object.toString()
public LocalHealthEventsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.