@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceEvent extends Object implements Serializable, Cloneable, StructuredPojo
The details for an event that's associated with a service.
Constructor and Description |
---|
ServiceEvent() |
Modifier and Type | Method and Description |
---|---|
ServiceEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp for the time when the event was triggered.
|
String |
getId()
The ID string for the event.
|
String |
getMessage()
The event message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedAt(Date createdAt)
The Unix timestamp for the time when the event was triggered.
|
void |
setId(String id)
The ID string for the event.
|
void |
setMessage(String message)
The event message.
|
String |
toString()
Returns a string representation of this object.
|
ServiceEvent |
withCreatedAt(Date createdAt)
The Unix timestamp for the time when the event was triggered.
|
ServiceEvent |
withId(String id)
The ID string for the event.
|
ServiceEvent |
withMessage(String message)
The event message.
|
public void setId(String id)
The ID string for the event.
id
- The ID string for the event.public String getId()
The ID string for the event.
public ServiceEvent withId(String id)
The ID string for the event.
id
- The ID string for the event.public void setCreatedAt(Date createdAt)
The Unix timestamp for the time when the event was triggered.
createdAt
- The Unix timestamp for the time when the event was triggered.public Date getCreatedAt()
The Unix timestamp for the time when the event was triggered.
public ServiceEvent withCreatedAt(Date createdAt)
The Unix timestamp for the time when the event was triggered.
createdAt
- The Unix timestamp for the time when the event was triggered.public void setMessage(String message)
The event message.
message
- The event message.public String getMessage()
The event message.
public ServiceEvent withMessage(String message)
The event message.
message
- The event message.public String toString()
toString
in class Object
Object.toString()
public ServiceEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.