@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) |
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 ObjectObject.toString()public EventItemResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.