@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HealthEventsConfig extends Object implements Serializable, Cloneable, StructuredPojo
A complex type for the configuration. Defines the health event threshold percentages, for performance score and availability score. Amazon CloudWatch Internet Monitor creates a health event when there's an internet issue that affects your application end users where a health score percentage is at or below a set threshold. If you don't set a health event threshold, the default value is 95%.
| Constructor and Description |
|---|
HealthEventsConfig() |
| Modifier and Type | Method and Description |
|---|---|
HealthEventsConfig |
clone() |
boolean |
equals(Object obj) |
Double |
getAvailabilityScoreThreshold()
The health event threshold percentage set for availability scores.
|
Double |
getPerformanceScoreThreshold()
The health event threshold percentage set for performance scores.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
|
void |
setPerformanceScoreThreshold(Double performanceScoreThreshold)
The health event threshold percentage set for performance scores.
|
String |
toString()
Returns a string representation of this object.
|
HealthEventsConfig |
withAvailabilityScoreThreshold(Double availabilityScoreThreshold)
The health event threshold percentage set for availability scores.
|
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 String toString()
toString in class ObjectObject.toString()public HealthEventsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.