public class EventItemResponse extends Object implements Serializable
| Constructor and Description |
|---|
EventItemResponse() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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; useful for testing and
debugging.
|
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 String getMessage()
public void setMessage(String message)
message - A custom message that is associated with the processing of
an event.public EventItemResponse withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - A custom message that is associated with the processing of
an event.public Integer getStatusCode()
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 EventItemResponse withStatusCode(Integer statusCode)
Returns a reference to this object so that method calls can be chained together.
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()Copyright © 2019. All rights reserved.