@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRouteResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates a RouteResponse.
NOOP
Constructor and Description |
---|
UpdateRouteResponseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRouteResponseRequest |
addResponseModelsEntry(String key,
String value)
Add a single ResponseModels entry
|
UpdateRouteResponseRequest |
addResponseParametersEntry(String key,
ParameterConstraints value)
Add a single ResponseParameters entry
|
UpdateRouteResponseRequest |
clearResponseModelsEntries()
Removes all the entries added into ResponseModels.
|
UpdateRouteResponseRequest |
clearResponseParametersEntries()
Removes all the entries added into ResponseParameters.
|
UpdateRouteResponseRequest |
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 |
getRouteResponseId()
The route response 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 |
setRouteResponseId(String routeResponseId)
The route response ID.
|
void |
setRouteResponseKey(String routeResponseKey)
The route response key.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRouteResponseRequest |
withApiId(String apiId)
The API identifier.
|
UpdateRouteResponseRequest |
withModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response.
|
UpdateRouteResponseRequest |
withResponseModels(Map<String,String> responseModels)
The response models for the route response.
|
UpdateRouteResponseRequest |
withResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
|
UpdateRouteResponseRequest |
withRouteId(String routeId)
The route ID.
|
UpdateRouteResponseRequest |
withRouteResponseId(String routeResponseId)
The route response ID.
|
UpdateRouteResponseRequest |
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 UpdateRouteResponseRequest 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 UpdateRouteResponseRequest 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 UpdateRouteResponseRequest withResponseModels(Map<String,String> responseModels)
The response models for the route response.
responseModels
- The response models for the route response.public UpdateRouteResponseRequest addResponseModelsEntry(String key, String value)
public UpdateRouteResponseRequest 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 UpdateRouteResponseRequest withResponseParameters(Map<String,ParameterConstraints> responseParameters)
The route response parameters.
responseParameters
- The route response parameters.public UpdateRouteResponseRequest addResponseParametersEntry(String key, ParameterConstraints value)
public UpdateRouteResponseRequest clearResponseParametersEntries()
public void setRouteId(String routeId)
The route ID.
routeId
- The route ID.public String getRouteId()
The route ID.
public UpdateRouteResponseRequest withRouteId(String routeId)
The route ID.
routeId
- The route ID.public void setRouteResponseId(String routeResponseId)
The route response ID.
routeResponseId
- The route response ID.public String getRouteResponseId()
The route response ID.
public UpdateRouteResponseRequest withRouteResponseId(String routeResponseId)
The route response ID.
routeResponseId
- The route response ID.public void setRouteResponseKey(String routeResponseKey)
The route response key.
routeResponseKey
- The route response key.public String getRouteResponseKey()
The route response key.
public UpdateRouteResponseRequest withRouteResponseKey(String routeResponseKey)
The route response key.
routeResponseKey
- The route response key.public String toString()
toString
in class Object
Object.toString()
public UpdateRouteResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()