@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventItemResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides the status code and message that result from processing an event.
| Constructor and Description |
|---|
EventItemResponse() |
| Modifier and Type | Method and Description |
|---|---|
EventItemResponse |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A custom message that's returned in the response as a result of processing the event.
|
Integer |
getStatusCode()
The status code that's 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's returned in the response as a result of processing the event.
|
void |
setStatusCode(Integer statusCode)
The status code that's 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's returned in the response as a result of processing the event.
|
EventItemResponse |
withStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the event.
|
public void setMessage(String message)
A custom message that's returned in the response as a result of processing the event.
message - A custom message that's returned in the response as a result of processing the event.public String getMessage()
A custom message that's returned in the response as a result of processing the event.
public EventItemResponse withMessage(String message)
A custom message that's returned in the response as a result of processing the event.
message - A custom message that's returned in the response as a result of processing the event.public void setStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
statusCode - The status code that's returned in the response as a result of processing the event. Possible values are:
202, for events that were accepted; and, 400, for events that weren't valid.public Integer getStatusCode()
The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
public EventItemResponse withStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
statusCode - The status code that's returned in the response as a result of processing the event. Possible values are:
202, for events that were accepted; and, 400, for events that weren't valid.public String toString()
toString in class ObjectObject.toString()public EventItemResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.