@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSyncEvent extends Object implements Serializable, Cloneable, StructuredPojo
Detail data for a resource sync event.
Constructor and Description |
---|
ResourceSyncEvent() |
Modifier and Type | Method and Description |
---|---|
ResourceSyncEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEvent()
A resource sync event.
|
String |
getExternalId()
The external ID for the event.
|
Date |
getTime()
The time when the event occurred.
|
String |
getType()
The type of event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvent(String event)
A resource sync event.
|
void |
setExternalId(String externalId)
The external ID for the event.
|
void |
setTime(Date time)
The time when the event occurred.
|
void |
setType(String type)
The type of event.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSyncEvent |
withEvent(String event)
A resource sync event.
|
ResourceSyncEvent |
withExternalId(String externalId)
The external ID for the event.
|
ResourceSyncEvent |
withTime(Date time)
The time when the event occurred.
|
ResourceSyncEvent |
withType(String type)
The type of event.
|
public void setEvent(String event)
A resource sync event.
event
- A resource sync event.public String getEvent()
A resource sync event.
public ResourceSyncEvent withEvent(String event)
A resource sync event.
event
- A resource sync event.public void setExternalId(String externalId)
The external ID for the event.
externalId
- The external ID for the event.public String getExternalId()
The external ID for the event.
public ResourceSyncEvent withExternalId(String externalId)
The external ID for the event.
externalId
- The external ID for the event.public void setTime(Date time)
The time when the event occurred.
time
- The time when the event occurred.public Date getTime()
The time when the event occurred.
public ResourceSyncEvent withTime(Date time)
The time when the event occurred.
time
- The time when the event occurred.public void setType(String type)
The type of event.
type
- The type of event.public String getType()
The type of event.
public ResourceSyncEvent withType(String type)
The type of event.
type
- The type of event.public String toString()
toString
in class Object
Object.toString()
public ResourceSyncEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.