@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventItemResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EventItemResponse() |
Modifier and Type | Method and Description |
---|---|
EventItemResponse |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A custom message that is associated with the processing of an event.
|
Integer |
getStatusCode()
The status returned in the response as a result of processing the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A custom message that is associated with the processing of an event.
|
void |
setStatusCode(Integer statusCode)
The status returned in the response as a result of processing the event.
|
String |
toString()
Returns a string representation of this object.
|
EventItemResponse |
withMessage(String message)
A custom message that is associated with the processing of an event.
|
EventItemResponse |
withStatusCode(Integer statusCode)
The status returned in the response as a result of processing the event.
|
public void setMessage(String message)
message
- A custom message that is associated with the processing of an event.public String getMessage()
public EventItemResponse withMessage(String message)
message
- A custom message that is associated with the processing of an event.public void setStatusCode(Integer statusCode)
statusCode
- The status returned in the response as a result of processing the event.
Possible values: 400 (for invalid events) and 202 (for events that were accepted).public Integer getStatusCode()
public EventItemResponse withStatusCode(Integer statusCode)
statusCode
- The status returned in the response as a result of processing the event.
Possible values: 400 (for invalid events) and 202 (for events that were accepted).public String toString()
toString
in class Object
Object.toString()
public EventItemResponse 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.