@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteResponse extends Object implements Serializable, Cloneable, StructuredPojo
Represents a route response.
Constructor and Description |
---|
RouteResponse() |
Modifier and Type | Method and Description |
---|---|
RouteResponse |
addResponseModelsEntry(String key,
String value)
Add a single ResponseModels entry
|
RouteResponse |
addResponseParametersEntry(String key,
ParameterConstraints value)
Add a single ResponseParameters entry
|
RouteResponse |
clearResponseModelsEntries()
Removes all the entries added into ResponseModels.
|
RouteResponse |
clearResponseParametersEntries()
Removes all the entries added into ResponseParameters.
|
RouteResponse |
clone() |
boolean |
equals(Object obj) |
String |
getModelSelectionExpression()
Represents the model selection expression of a route response.
|
Map<String,String> |
getResponseModels()
Represents the response models of a route response.
|
Map<String,ParameterConstraints> |
getResponseParameters()
Represents the response parameters of a route response.
|
String |
getRouteResponseId()
Represents the identifier of a route response.
|
String |
getRouteResponseKey()
Represents the route response key of a route response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModelSelectionExpression(String modelSelectionExpression)
Represents the model selection expression of a route response.
|
void |
setResponseModels(Map<String,String> responseModels)
Represents the response models of a route response.
|
void |
setResponseParameters(Map<String,ParameterConstraints> responseParameters)
Represents the response parameters of a route response.
|
void |
setRouteResponseId(String routeResponseId)
Represents the identifier of a route response.
|
void |
setRouteResponseKey(String routeResponseKey)
Represents the route response key of a route response.
|
String |
toString()
Returns a string representation of this object.
|
RouteResponse |
withModelSelectionExpression(String modelSelectionExpression)
Represents the model selection expression of a route response.
|
RouteResponse |
withResponseModels(Map<String,String> responseModels)
Represents the response models of a route response.
|
RouteResponse |
withResponseParameters(Map<String,ParameterConstraints> responseParameters)
Represents the response parameters of a route response.
|
RouteResponse |
withRouteResponseId(String routeResponseId)
Represents the identifier of a route response.
|
RouteResponse |
withRouteResponseKey(String routeResponseKey)
Represents the route response key of a route response.
|
public void setModelSelectionExpression(String modelSelectionExpression)
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
modelSelectionExpression
- Represents the model selection expression of a route response. Supported only for WebSocket APIs.public String getModelSelectionExpression()
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
public RouteResponse withModelSelectionExpression(String modelSelectionExpression)
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
modelSelectionExpression
- Represents the model selection expression of a route response. Supported only for WebSocket APIs.public Map<String,String> getResponseModels()
Represents the response models of a route response.
public void setResponseModels(Map<String,String> responseModels)
Represents the response models of a route response.
responseModels
- Represents the response models of a route response.public RouteResponse withResponseModels(Map<String,String> responseModels)
Represents the response models of a route response.
responseModels
- Represents the response models of a route response.public RouteResponse addResponseModelsEntry(String key, String value)
public RouteResponse clearResponseModelsEntries()
public Map<String,ParameterConstraints> getResponseParameters()
Represents the response parameters of a route response.
public void setResponseParameters(Map<String,ParameterConstraints> responseParameters)
Represents the response parameters of a route response.
responseParameters
- Represents the response parameters of a route response.public RouteResponse withResponseParameters(Map<String,ParameterConstraints> responseParameters)
Represents the response parameters of a route response.
responseParameters
- Represents the response parameters of a route response.public RouteResponse addResponseParametersEntry(String key, ParameterConstraints value)
public RouteResponse clearResponseParametersEntries()
public void setRouteResponseId(String routeResponseId)
Represents the identifier of a route response.
routeResponseId
- Represents the identifier of a route response.public String getRouteResponseId()
Represents the identifier of a route response.
public RouteResponse withRouteResponseId(String routeResponseId)
Represents the identifier of a route response.
routeResponseId
- Represents the identifier of a route response.public void setRouteResponseKey(String routeResponseKey)
Represents the route response key of a route response.
routeResponseKey
- Represents the route response key of a route response.public String getRouteResponseKey()
Represents the route response key of a route response.
public RouteResponse withRouteResponseKey(String routeResponseKey)
Represents the route response key of a route response.
routeResponseKey
- Represents the route response key of a route response.public String toString()
toString
in class Object
Object.toString()
public RouteResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.