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 code to respond with for a particular event id
|
int |
hashCode() |
void |
setMessage(String message)
A custom message that is associated with the processing of an event.
|
void |
setStatusCode(Integer statusCode)
The status code to respond with for a particular event id
|
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 code to respond with for a particular event id
|
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 code to respond with for a particular event
idpublic EventItemResponse withStatusCode(Integer statusCode)
Returns a reference to this object so that method calls can be chained together.
statusCode - The status code to respond with for a particular event
idpublic String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.