@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInternetEventResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInternetEventResult() |
Modifier and Type | Method and Description |
---|---|
GetInternetEventResult |
clone() |
boolean |
equals(Object obj) |
ClientLocation |
getClientLocation()
The impacted location, such as a city, where clients access Amazon Web Services application resources.
|
Date |
getEndedAt()
The time when the 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 the internet event.
|
String |
getEventType()
The type of network impairment.
|
Date |
getStartedAt()
The time when the internet event started.
|
int |
hashCode() |
void |
setClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, where clients access Amazon Web Services application resources.
|
void |
setEndedAt(Date endedAt)
The time when the 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 the internet event.
|
void |
setEventType(String eventType)
The type of network impairment.
|
void |
setStartedAt(Date startedAt)
The time when the internet event started.
|
String |
toString()
Returns a string representation of this object.
|
GetInternetEventResult |
withClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, where clients access Amazon Web Services application resources.
|
GetInternetEventResult |
withEndedAt(Date endedAt)
The time when the internet event ended.
|
GetInternetEventResult |
withEventArn(String eventArn)
The Amazon Resource Name (ARN) of the internet event.
|
GetInternetEventResult |
withEventId(String eventId)
The internally-generated identifier of an internet event.
|
GetInternetEventResult |
withEventStatus(InternetEventStatus eventStatus)
The status of the internet event.
|
GetInternetEventResult |
withEventStatus(String eventStatus)
The status of the internet event.
|
GetInternetEventResult |
withEventType(InternetEventType eventType)
The type of network impairment.
|
GetInternetEventResult |
withEventType(String eventType)
The type of network impairment.
|
GetInternetEventResult |
withStartedAt(Date startedAt)
The time when the internet event started.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetInternetEventResult 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 GetInternetEventResult 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 the internet event started.
startedAt
- The time when the internet event started.public Date getStartedAt()
The time when the internet event started.
public GetInternetEventResult withStartedAt(Date startedAt)
The time when the internet event started.
startedAt
- The time when the internet event started.public void setEndedAt(Date endedAt)
The time when the internet event ended. If the event hasn't ended yet, this value is empty.
endedAt
- The time when the internet event ended. If the event hasn't ended yet, this value is empty.public Date getEndedAt()
The time when the internet event ended. If the event hasn't ended yet, this value is empty.
public GetInternetEventResult withEndedAt(Date endedAt)
The time when the internet event ended. If the event hasn't ended yet, this value is empty.
endedAt
- The time when the 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, where clients access Amazon Web Services application resources.
clientLocation
- The impacted location, such as a city, where clients access Amazon Web Services application resources.public ClientLocation getClientLocation()
The impacted location, such as a city, where clients access Amazon Web Services application resources.
public GetInternetEventResult withClientLocation(ClientLocation clientLocation)
The impacted location, such as a city, where clients access Amazon Web Services application resources.
clientLocation
- The impacted location, such as a city, where clients access Amazon Web Services application resources.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 GetInternetEventResult withEventType(String eventType)
The type of network impairment.
eventType
- The type of network impairment.InternetEventType
public GetInternetEventResult withEventType(InternetEventType eventType)
The type of network impairment.
eventType
- The type of network impairment.InternetEventType
public void setEventStatus(String eventStatus)
The status of the internet event.
eventStatus
- The status of the internet event.InternetEventStatus
public String getEventStatus()
The status of the internet event.
InternetEventStatus
public GetInternetEventResult withEventStatus(String eventStatus)
The status of the internet event.
eventStatus
- The status of the internet event.InternetEventStatus
public GetInternetEventResult withEventStatus(InternetEventStatus eventStatus)
The status of the internet event.
eventStatus
- The status of the internet event.InternetEventStatus
public String toString()
toString
in class Object
Object.toString()
public GetInternetEventResult clone()