@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceEvent extends Object implements Serializable, Cloneable, StructuredPojo
Details on an event 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 when the event was triggered.
|
String |
getId()
The ID string of the event.
|
String |
getMessage()
The event message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The Unix timestamp for when the event was triggered.
|
void |
setId(String id)
The ID string of the event.
|
void |
setMessage(String message)
The event message.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServiceEvent |
withCreatedAt(Date createdAt)
The Unix timestamp for when the event was triggered.
|
ServiceEvent |
withId(String id)
The ID string of the event.
|
ServiceEvent |
withMessage(String message)
The event message.
|
public void setId(String id)
The ID string of the event.
id
- The ID string of the event.public String getId()
The ID string of the event.
public ServiceEvent withId(String id)
The ID string of the event.
id
- The ID string of the event.public void setCreatedAt(Date createdAt)
The Unix timestamp for when the event was triggered.
createdAt
- The Unix timestamp for when the event was triggered.public Date getCreatedAt()
The Unix timestamp for when the event was triggered.
public ServiceEvent withCreatedAt(Date createdAt)
The Unix timestamp for when the event was triggered.
createdAt
- The Unix timestamp for 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.