@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointItemResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides the status code and message that result from processing data for an endpoint.
Constructor and Description |
---|
EndpointItemResponse() |
Modifier and Type | Method and Description |
---|---|
EndpointItemResponse |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The custom message that's returned in the response as a result of processing the endpoint data.
|
Integer |
getStatusCode()
The status code that's returned in the response as a result of processing the endpoint data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The custom message that's returned in the response as a result of processing the endpoint data.
|
void |
setStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the endpoint data.
|
String |
toString()
Returns a string representation of this object.
|
EndpointItemResponse |
withMessage(String message)
The custom message that's returned in the response as a result of processing the endpoint data.
|
EndpointItemResponse |
withStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the endpoint data.
|
public void setMessage(String message)
The custom message that's returned in the response as a result of processing the endpoint data.
message
- The custom message that's returned in the response as a result of processing the endpoint data.public String getMessage()
The custom message that's returned in the response as a result of processing the endpoint data.
public EndpointItemResponse withMessage(String message)
The custom message that's returned in the response as a result of processing the endpoint data.
message
- The custom message that's returned in the response as a result of processing the endpoint data.public void setStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the endpoint data.
statusCode
- The status code that's returned in the response as a result of processing the endpoint data.public Integer getStatusCode()
The status code that's returned in the response as a result of processing the endpoint data.
public EndpointItemResponse withStatusCode(Integer statusCode)
The status code that's returned in the response as a result of processing the endpoint data.
statusCode
- The status code that's returned in the response as a result of processing the endpoint data.public String toString()
toString
in class Object
Object.toString()
public EndpointItemResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.