@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains a Bounce
object if the event type is BOUNCE
. Contains a Complaint
object if the event type is COMPLAINT
.
Constructor and Description |
---|
EventDetails() |
Modifier and Type | Method and Description |
---|---|
EventDetails |
clone() |
boolean |
equals(Object obj) |
Bounce |
getBounce()
Information about a
Bounce event. |
Complaint |
getComplaint()
Information about a
Complaint event. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBounce(Bounce bounce)
Information about a
Bounce event. |
void |
setComplaint(Complaint complaint)
Information about a
Complaint event. |
String |
toString()
Returns a string representation of this object.
|
EventDetails |
withBounce(Bounce bounce)
Information about a
Bounce event. |
EventDetails |
withComplaint(Complaint complaint)
Information about a
Complaint event. |
public void setBounce(Bounce bounce)
Information about a Bounce
event.
bounce
- Information about a Bounce
event.public Bounce getBounce()
Information about a Bounce
event.
Bounce
event.public EventDetails withBounce(Bounce bounce)
Information about a Bounce
event.
bounce
- Information about a Bounce
event.public void setComplaint(Complaint complaint)
Information about a Complaint
event.
complaint
- Information about a Complaint
event.public Complaint getComplaint()
Information about a Complaint
event.
Complaint
event.public EventDetails withComplaint(Complaint complaint)
Information about a Complaint
event.
complaint
- Information about a Complaint
event.public String toString()
toString
in class Object
Object.toString()
public EventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.