Package com.amazonaws.services.ecs.model
Class ServiceEvent
java.lang.Object
com.amazonaws.services.ecs.model.ServiceEvent
- All Implemented Interfaces:
Serializable
,Cloneable
Details on an event associated with a service.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Unix time in seconds and milliseconds when the event was triggered.getId()
The ID string of the event.The event message.int
hashCode()
void
setCreatedAt
(Date createdAt) The Unix time in seconds and milliseconds when the event was triggered.void
The ID string of the event.void
setMessage
(String message) The event message.toString()
Returns a string representation of this object; useful for testing and debugging.withCreatedAt
(Date createdAt) The Unix time in seconds and milliseconds when the event was triggered.The ID string of the event.withMessage
(String message) The event message.
-
Constructor Details
-
ServiceEvent
public ServiceEvent()
-
-
Method Details
-
setId
The ID string of the event.
- Parameters:
id
- The ID string of the event.
-
getId
The ID string of the event.
- Returns:
- The ID string of the event.
-
withId
The ID string of the event.
- Parameters:
id
- The ID string of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
The Unix time in seconds and milliseconds when the event was triggered.
- Parameters:
createdAt
- The Unix time in seconds and milliseconds when the event was triggered.
-
getCreatedAt
The Unix time in seconds and milliseconds when the event was triggered.
- Returns:
- The Unix time in seconds and milliseconds when the event was triggered.
-
withCreatedAt
The Unix time in seconds and milliseconds when the event was triggered.
- Parameters:
createdAt
- The Unix time in seconds and milliseconds when the event was triggered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
The event message.
- Parameters:
message
- The event message.
-
getMessage
The event message.
- Returns:
- The event message.
-
withMessage
The event message.
- Parameters:
message
- The event message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-