public class EndpointItemResponse extends Object implements Serializable
Constructor and Description |
---|
EndpointItemResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMessage()
A custom message associated with the registration of an endpoint when
issuing a response.
|
Integer |
getStatusCode()
The status code to respond with for a particular endpoint id after
endpoint registration
|
int |
hashCode() |
void |
setMessage(String message)
A custom message associated with the registration of an endpoint when
issuing a response.
|
void |
setStatusCode(Integer statusCode)
The status code to respond with for a particular endpoint id after
endpoint registration
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EndpointItemResponse |
withMessage(String message)
A custom message associated with the registration of an endpoint when
issuing a response.
|
EndpointItemResponse |
withStatusCode(Integer statusCode)
The status code to respond with for a particular endpoint id after
endpoint registration
|
public String getMessage()
public void setMessage(String message)
message
- A custom message associated with the registration of an
endpoint when issuing a response.public EndpointItemResponse withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- A custom message associated with the registration of an
endpoint when issuing a response.public Integer getStatusCode()
public void setStatusCode(Integer statusCode)
statusCode
- The status code to respond with for a particular
endpoint id after endpoint registrationpublic EndpointItemResponse 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
endpoint id after endpoint registrationpublic String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.