@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRouteResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new RouteResponse resource to represent a route response.
NOOP
Constructor and Description |
---|
CreateRouteResponseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRouteResponseRequest |
addResponseModelsEntry(String key,
String value)
Add a single ResponseModels entry
|
CreateRouteResponseRequest |
addResponseParametersEntry(String key,
ParameterConstraints value)
Add a single ResponseParameters entry
|
CreateRouteResponseRequest |
clearResponseModelsEntries()
Removes all the entries added into ResponseModels.
|
CreateRouteResponseRequest |
clearResponseParametersEntries()
Removes all the entries added into ResponseParameters.
|
CreateRouteResponseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API identifier.
|
String |
getModelSelectionExpression()
The model selection expression for the route response.
|
Map<String,String> |
getResponseModels()
The response models for the route response.
|
Map<String,ParameterConstraints> |
getResponseParameters()
The route response parameters.
|
String |
getRouteId()
The route ID.
|
String |
getRouteResponseKey()
The route response key.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API identifier.
|
void |
setModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response.
|
void |
setResponseModels(Map<String,String> responseModels)
The response models for the route response.
|
void |
setResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
|
void |
setRouteId(String routeId)
The route ID.
|
void |
setRouteResponseKey(String routeResponseKey)
The route response key.
|
String |
toString()
Returns a string representation of this object.
|
CreateRouteResponseRequest |
withApiId(String apiId)
The API identifier.
|
CreateRouteResponseRequest |
withModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response.
|
CreateRouteResponseRequest |
withResponseModels(Map<String,String> responseModels)
The response models for the route response.
|
CreateRouteResponseRequest |
withResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
|
CreateRouteResponseRequest |
withRouteId(String routeId)
The route ID.
|
CreateRouteResponseRequest |
withRouteResponseKey(String routeResponseKey)
The route response key.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiId(String apiId)
The API identifier.
apiId
- The API identifier.public String getApiId()
The API identifier.
public CreateRouteResponseRequest withApiId(String apiId)
The API identifier.
apiId
- The API identifier.public void setModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response. Supported only for WebSocket APIs.
modelSelectionExpression
- The model selection expression for the route response. Supported only for WebSocket APIs.public String getModelSelectionExpression()
The model selection expression for the route response. Supported only for WebSocket APIs.
public CreateRouteResponseRequest withModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response. Supported only for WebSocket APIs.
modelSelectionExpression
- The model selection expression for the route response. Supported only for WebSocket APIs.public Map<String,String> getResponseModels()
The response models for the route response.
public void setResponseModels(Map<String,String> responseModels)
The response models for the route response.
responseModels
- The response models for the route response.public CreateRouteResponseRequest withResponseModels(Map<String,String> responseModels)
The response models for the route response.
responseModels
- The response models for the route response.public CreateRouteResponseRequest addResponseModelsEntry(String key, String value)
public CreateRouteResponseRequest clearResponseModelsEntries()
public Map<String,ParameterConstraints> getResponseParameters()
The route response parameters.
public void setResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
responseParameters
- The route response parameters.public CreateRouteResponseRequest withResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
responseParameters
- The route response parameters.public CreateRouteResponseRequest addResponseParametersEntry(String key, ParameterConstraints value)
public CreateRouteResponseRequest clearResponseParametersEntries()
public void setRouteId(String routeId)
The route ID.
routeId
- The route ID.public String getRouteId()
The route ID.
public CreateRouteResponseRequest withRouteId(String routeId)
The route ID.
routeId
- The route ID.public void setRouteResponseKey(String routeResponseKey)
The route response key.
routeResponseKey
- The route response key.public String getRouteResponseKey()
The route response key.
public CreateRouteResponseRequest withRouteResponseKey(String routeResponseKey)
The route response key.
routeResponseKey
- The route response key.public String toString()
toString
in class Object
Object.toString()
public CreateRouteResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()