@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternetEventSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of information about an internet event in Amazon CloudWatch Internet Monitor. Internet events are issues that cause performance degradation or availability problems for impacted Amazon Web Services client locations. Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers.
Constructor and Description |
---|
InternetEventSummary() |
Modifier and Type | Method and Description |
---|---|
InternetEventSummary |
clone() |
boolean |
equals(Object obj) |
ClientLocation |
getClientLocation()
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
|
Date |
getEndedAt()
The time when an internet event ended.
|
String |
getEventArn()
The Amazon Resource Name (ARN) of the internet event.
|
String |
getEventId()
The internally-generated identifier of an internet event.
|
String |
getEventStatus()
The status of an internet event.
|
String |
getEventType()
The type of network impairment.
|
Date |
getStartedAt()
The time when an internet event started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
|
void |
setEndedAt(Date endedAt)
The time when an internet event ended.
|
void |
setEventArn(String eventArn)
The Amazon Resource Name (ARN) of the internet event.
|
void |
setEventId(String eventId)
The internally-generated identifier of an internet event.
|
void |
setEventStatus(String eventStatus)
The status of an internet event.
|
void |
setEventType(String eventType)
The type of network impairment.
|
void |
setStartedAt(Date startedAt)
The time when an internet event started.
|
String |
toString()
Returns a string representation of this object.
|
InternetEventSummary |
withClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
|
InternetEventSummary |
withEndedAt(Date endedAt)
The time when an internet event ended.
|
InternetEventSummary |
withEventArn(String eventArn)
The Amazon Resource Name (ARN) of the internet event.
|
InternetEventSummary |
withEventId(String eventId)
The internally-generated identifier of an internet event.
|
InternetEventSummary |
withEventStatus(InternetEventStatus eventStatus)
The status of an internet event.
|
InternetEventSummary |
withEventStatus(String eventStatus)
The status of an internet event.
|
InternetEventSummary |
withEventType(InternetEventType eventType)
The type of network impairment.
|
InternetEventSummary |
withEventType(String eventType)
The type of network impairment.
|
InternetEventSummary |
withStartedAt(Date startedAt)
The time when an internet event started.
|
public void setEventId(String eventId)
The internally-generated identifier of an internet event.
eventId
- The internally-generated identifier of an internet event.public String getEventId()
The internally-generated identifier of an internet event.
public InternetEventSummary withEventId(String eventId)
The internally-generated identifier of an internet event.
eventId
- The internally-generated identifier of an internet event.public void setEventArn(String eventArn)
The Amazon Resource Name (ARN) of the internet event.
eventArn
- The Amazon Resource Name (ARN) of the internet event.public String getEventArn()
The Amazon Resource Name (ARN) of the internet event.
public InternetEventSummary withEventArn(String eventArn)
The Amazon Resource Name (ARN) of the internet event.
eventArn
- The Amazon Resource Name (ARN) of the internet event.public void setStartedAt(Date startedAt)
The time when an internet event started.
startedAt
- The time when an internet event started.public Date getStartedAt()
The time when an internet event started.
public InternetEventSummary withStartedAt(Date startedAt)
The time when an internet event started.
startedAt
- The time when an internet event started.public void setEndedAt(Date endedAt)
The time when an internet event ended. If the event hasn't ended yet, this value is empty.
endedAt
- The time when an internet event ended. If the event hasn't ended yet, this value is empty.public Date getEndedAt()
The time when an internet event ended. If the event hasn't ended yet, this value is empty.
public InternetEventSummary withEndedAt(Date endedAt)
The time when an internet event ended. If the event hasn't ended yet, this value is empty.
endedAt
- The time when an internet event ended. If the event hasn't ended yet, this value is empty.public void setClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
clientLocation
- The impacted location, such as a city, that Amazon Web Services clients access application resources from.public ClientLocation getClientLocation()
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
public InternetEventSummary withClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, that Amazon Web Services clients access application resources from.
clientLocation
- The impacted location, such as a city, that Amazon Web Services clients access application resources from.public void setEventType(String eventType)
The type of network impairment.
eventType
- The type of network impairment.InternetEventType
public String getEventType()
The type of network impairment.
InternetEventType
public InternetEventSummary withEventType(String eventType)
The type of network impairment.
eventType
- The type of network impairment.InternetEventType
public InternetEventSummary withEventType(InternetEventType eventType)
The type of network impairment.
eventType
- The type of network impairment.InternetEventType
public void setEventStatus(String eventStatus)
The status of an internet event.
eventStatus
- The status of an internet event.InternetEventStatus
public String getEventStatus()
The status of an internet event.
InternetEventStatus
public InternetEventSummary withEventStatus(String eventStatus)
The status of an internet event.
eventStatus
- The status of an internet event.InternetEventStatus
public InternetEventSummary withEventStatus(InternetEventStatus eventStatus)
The status of an internet event.
eventStatus
- The status of an internet event.InternetEventStatus
public String toString()
toString
in class Object
Object.toString()
public InternetEventSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.