public class EventItemResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EventItemResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
A custom message that is associated with the processing of an event.
|
java.lang.Integer |
getStatusCode()
The status returned in the response as a result of processing the event.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
A custom message that is associated with the processing of an event.
|
void |
setStatusCode(java.lang.Integer statusCode)
The status returned in the response as a result of processing the event.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventItemResponse |
withMessage(java.lang.String message)
A custom message that is associated with the processing of an event.
|
EventItemResponse |
withStatusCode(java.lang.Integer statusCode)
The status returned in the response as a result of processing the event.
|
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- A custom message that is associated with the processing of
an event.public EventItemResponse withMessage(java.lang.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 java.lang.Integer getStatusCode()
public void setStatusCode(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.