@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HealthEvent extends Object implements Serializable, Cloneable, StructuredPojo
Information about a health event created in a monitor in Amazon CloudWatch Internet Monitor.
Constructor and Description |
---|
HealthEvent() |
Modifier and Type | Method and Description |
---|---|
HealthEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
When the health event was created.
|
Date |
getEndedAt()
The time when a health event ended.
|
String |
getEventArn()
The Amazon Resource Name (ARN) of the event.
|
String |
getEventId()
The internally-generated identifier of a specific network traffic impairment health event.
|
Double |
getHealthScoreThreshold()
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch
Internet Monitor created the health event.
|
List<ImpactedLocation> |
getImpactedLocations()
The locations impacted by the health event.
|
String |
getImpactType()
The type of impairment for a health event.
|
Date |
getLastUpdatedAt()
When the health event was last updated.
|
Double |
getPercentOfTotalTrafficImpacted()
The impact on total traffic that a health event has, in increased latency or reduced availability.
|
Date |
getStartedAt()
When a health event started.
|
String |
getStatus()
The status of a health event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
When the health event was created.
|
void |
setEndedAt(Date endedAt)
The time when a health event ended.
|
void |
setEventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
|
void |
setEventId(String eventId)
The internally-generated identifier of a specific network traffic impairment health event.
|
void |
setHealthScoreThreshold(Double healthScoreThreshold)
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch
Internet Monitor created the health event.
|
void |
setImpactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
|
void |
setImpactType(String impactType)
The type of impairment for a health event.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
When the health event was last updated.
|
void |
setPercentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has, in increased latency or reduced availability.
|
void |
setStartedAt(Date startedAt)
When a health event started.
|
void |
setStatus(String status)
The status of a health event.
|
String |
toString()
Returns a string representation of this object.
|
HealthEvent |
withCreatedAt(Date createdAt)
When the health event was created.
|
HealthEvent |
withEndedAt(Date endedAt)
The time when a health event ended.
|
HealthEvent |
withEventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
|
HealthEvent |
withEventId(String eventId)
The internally-generated identifier of a specific network traffic impairment health event.
|
HealthEvent |
withHealthScoreThreshold(Double healthScoreThreshold)
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch
Internet Monitor created the health event.
|
HealthEvent |
withImpactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
|
HealthEvent |
withImpactedLocations(ImpactedLocation... impactedLocations)
The locations impacted by the health event.
|
HealthEvent |
withImpactType(HealthEventImpactType impactType)
The type of impairment for a health event.
|
HealthEvent |
withImpactType(String impactType)
The type of impairment for a health event.
|
HealthEvent |
withLastUpdatedAt(Date lastUpdatedAt)
When the health event was last updated.
|
HealthEvent |
withPercentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has, in increased latency or reduced availability.
|
HealthEvent |
withStartedAt(Date startedAt)
When a health event started.
|
HealthEvent |
withStatus(HealthEventStatus status)
The status of a health event.
|
HealthEvent |
withStatus(String status)
The status of a health event.
|
public void setEventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
eventArn
- The Amazon Resource Name (ARN) of the event.public String getEventArn()
The Amazon Resource Name (ARN) of the event.
public HealthEvent withEventArn(String eventArn)
The Amazon Resource Name (ARN) of the event.
eventArn
- The Amazon Resource Name (ARN) of the event.public void setEventId(String eventId)
The internally-generated identifier of a specific network traffic impairment health event.
eventId
- The internally-generated identifier of a specific network traffic impairment health event.public String getEventId()
The internally-generated identifier of a specific network traffic impairment health event.
public HealthEvent withEventId(String eventId)
The internally-generated identifier of a specific network traffic impairment health event.
eventId
- The internally-generated identifier of a specific network traffic impairment health event.public void setStartedAt(Date startedAt)
When a health event started.
startedAt
- When a health event started.public Date getStartedAt()
When a health event started.
public HealthEvent withStartedAt(Date startedAt)
When a health event started.
startedAt
- When a health event started.public void setEndedAt(Date endedAt)
The time when a health event ended. If the health event is still active, then the end time is not set.
endedAt
- The time when a health event ended. If the health event is still active, then the end time is not set.public Date getEndedAt()
The time when a health event ended. If the health event is still active, then the end time is not set.
public HealthEvent withEndedAt(Date endedAt)
The time when a health event ended. If the health event is still active, then the end time is not set.
endedAt
- The time when a health event ended. If the health event is still active, then the end time is not set.public void setCreatedAt(Date createdAt)
When the health event was created.
createdAt
- When the health event was created.public Date getCreatedAt()
When the health event was created.
public HealthEvent withCreatedAt(Date createdAt)
When the health event was created.
createdAt
- When the health event was created.public void setLastUpdatedAt(Date lastUpdatedAt)
When the health event was last updated.
lastUpdatedAt
- When the health event was last updated.public Date getLastUpdatedAt()
When the health event was last updated.
public HealthEvent withLastUpdatedAt(Date lastUpdatedAt)
When the health event was last updated.
lastUpdatedAt
- When the health event was last updated.public List<ImpactedLocation> getImpactedLocations()
The locations impacted by the health event.
public void setImpactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
impactedLocations
- The locations impacted by the health event.public HealthEvent withImpactedLocations(ImpactedLocation... impactedLocations)
The locations impacted by the health event.
NOTE: This method appends the values to the existing list (if any). Use
setImpactedLocations(java.util.Collection)
or withImpactedLocations(java.util.Collection)
if
you want to override the existing values.
impactedLocations
- The locations impacted by the health event.public HealthEvent withImpactedLocations(Collection<ImpactedLocation> impactedLocations)
The locations impacted by the health event.
impactedLocations
- The locations impacted by the health event.public void setStatus(String status)
The status of a health event.
status
- The status of a health event.HealthEventStatus
public String getStatus()
The status of a health event.
HealthEventStatus
public HealthEvent withStatus(String status)
The status of a health event.
status
- The status of a health event.HealthEventStatus
public HealthEvent withStatus(HealthEventStatus status)
The status of a health event.
status
- The status of a health event.HealthEventStatus
public void setPercentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
percentOfTotalTrafficImpacted
- The impact on total traffic that a health event has, in increased latency or reduced availability. This is
the percentage of how much latency has increased or availability has decreased during the event, compared
to what is typical for traffic from this client location to the Amazon Web Services location using this
client network.public Double getPercentOfTotalTrafficImpacted()
The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
public HealthEvent withPercentOfTotalTrafficImpacted(Double percentOfTotalTrafficImpacted)
The impact on total traffic that a health event has, in increased latency or reduced availability. This is the percentage of how much latency has increased or availability has decreased during the event, compared to what is typical for traffic from this client location to the Amazon Web Services location using this client network.
percentOfTotalTrafficImpacted
- The impact on total traffic that a health event has, in increased latency or reduced availability. This is
the percentage of how much latency has increased or availability has decreased during the event, compared
to what is typical for traffic from this client location to the Amazon Web Services location using this
client network.public void setImpactType(String impactType)
The type of impairment for a health event.
impactType
- The type of impairment for a health event.HealthEventImpactType
public String getImpactType()
The type of impairment for a health event.
HealthEventImpactType
public HealthEvent withImpactType(String impactType)
The type of impairment for a health event.
impactType
- The type of impairment for a health event.HealthEventImpactType
public HealthEvent withImpactType(HealthEventImpactType impactType)
The type of impairment for a health event.
impactType
- The type of impairment for a health event.HealthEventImpactType
public void setHealthScoreThreshold(Double healthScoreThreshold)
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch Internet Monitor created the health event.
healthScoreThreshold
- The value of the threshold percentage for performance or availability that was configured when Amazon
CloudWatch Internet Monitor created the health event.public Double getHealthScoreThreshold()
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch Internet Monitor created the health event.
public HealthEvent withHealthScoreThreshold(Double healthScoreThreshold)
The value of the threshold percentage for performance or availability that was configured when Amazon CloudWatch Internet Monitor created the health event.
healthScoreThreshold
- The value of the threshold percentage for performance or availability that was configured when Amazon
CloudWatch Internet Monitor created the health event.public String toString()
toString
in class Object
Object.toString()
public HealthEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.