Class PutIntegrationResponseRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents a put integration response request.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResponseParametersEntry
(String key, String value) addResponseTemplatesEntry
(String key, String value) Removes all the entries added into ResponseParameters.Removes all the entries added into ResponseTemplates.clone()
Creates a shallow clone of this request.boolean
Specifies a put integration response request's HTTP method.Specifies a put integration response request's resource identifier.Represents response parameters that can be read from the backend response.Specifies a put integration response's templates.Specifies a put integration response request's API identifier.Specifies the selection pattern of a put integration response.Specifies the status code that is used to map the integration response to an existing MethodResponse.int
hashCode()
void
setHttpMethod
(String httpMethod) Specifies a put integration response request's HTTP method.void
setResourceId
(String resourceId) Specifies a put integration response request's resource identifier.void
setResponseParameters
(Map<String, String> responseParameters) Represents response parameters that can be read from the backend response.void
setResponseTemplates
(Map<String, String> responseTemplates) Specifies a put integration response's templates.void
setRestApiId
(String restApiId) Specifies a put integration response request's API identifier.void
setSelectionPattern
(String selectionPattern) Specifies the selection pattern of a put integration response.void
setStatusCode
(String statusCode) Specifies the status code that is used to map the integration response to an existing MethodResponse.toString()
Returns a string representation of this object; useful for testing and debugging.withHttpMethod
(String httpMethod) Specifies a put integration response request's HTTP method.withResourceId
(String resourceId) Specifies a put integration response request's resource identifier.withResponseParameters
(Map<String, String> responseParameters) Represents response parameters that can be read from the backend response.withResponseTemplates
(Map<String, String> responseTemplates) Specifies a put integration response's templates.withRestApiId
(String restApiId) Specifies a put integration response request's API identifier.withSelectionPattern
(String selectionPattern) Specifies the selection pattern of a put integration response.withStatusCode
(String statusCode) Specifies the status code that is used to map the integration response to an existing MethodResponse.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
PutIntegrationResponseRequest
public PutIntegrationResponseRequest()
-
-
Method Details
-
setRestApiId
Specifies a put integration response request's API identifier.
- Parameters:
restApiId
- Specifies a put integration response request's API identifier.
-
getRestApiId
Specifies a put integration response request's API identifier.
- Returns:
- Specifies a put integration response request's API identifier.
-
withRestApiId
Specifies a put integration response request's API identifier.
- Parameters:
restApiId
- Specifies a put integration response request's API identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
Specifies a put integration response request's resource identifier.
- Parameters:
resourceId
- Specifies a put integration response request's resource identifier.
-
getResourceId
Specifies a put integration response request's resource identifier.
- Returns:
- Specifies a put integration response request's resource identifier.
-
withResourceId
Specifies a put integration response request's resource identifier.
- Parameters:
resourceId
- Specifies a put integration response request's resource identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHttpMethod
Specifies a put integration response request's HTTP method.
- Parameters:
httpMethod
- Specifies a put integration response request's HTTP method.
-
getHttpMethod
Specifies a put integration response request's HTTP method.
- Returns:
- Specifies a put integration response request's HTTP method.
-
withHttpMethod
Specifies a put integration response request's HTTP method.
- Parameters:
httpMethod
- Specifies a put integration response request's HTTP method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusCode
Specifies the status code that is used to map the integration response to an existing MethodResponse.
- Parameters:
statusCode
- Specifies the status code that is used to map the integration response to an existing MethodResponse.
-
getStatusCode
Specifies the status code that is used to map the integration response to an existing MethodResponse.
- Returns:
- Specifies the status code that is used to map the integration response to an existing MethodResponse.
-
withStatusCode
Specifies the status code that is used to map the integration response to an existing MethodResponse.
- Parameters:
statusCode
- Specifies the status code that is used to map the integration response to an existing MethodResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSelectionPattern
Specifies the selection pattern of a put integration response.
- Parameters:
selectionPattern
- Specifies the selection pattern of a put integration response.
-
getSelectionPattern
Specifies the selection pattern of a put integration response.
- Returns:
- Specifies the selection pattern of a put integration response.
-
withSelectionPattern
Specifies the selection pattern of a put integration response.
- Parameters:
selectionPattern
- Specifies the selection pattern of a put integration response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getResponseParameters
Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the Method. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the pattern
integration.response.header.{name}
.- Returns:
- Represents response parameters that can be read from the backend
response. Response parameters are represented as a key/value map,
with a destination as the key and a source as the value. A
destination must match an existing response parameter in the
Method. The source can be a header from the backend
response, or a static value. Static values are specified using
enclosing single quotes, and backend response headers can be read
using the pattern
integration.response.header.{name}
.
-
setResponseParameters
Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the Method. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the pattern
integration.response.header.{name}
.- Parameters:
responseParameters
- Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the Method. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the patternintegration.response.header.{name}
.
-
withResponseParameters
Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the Method. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the pattern
integration.response.header.{name}
.- Parameters:
responseParameters
- Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the Method. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the patternintegration.response.header.{name}
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResponseParametersEntry
-
clearResponseParametersEntries
Removes all the entries added into ResponseParameters. <p> Returns a reference to this object so that method calls can be chained together. -
getResponseTemplates
Specifies a put integration response's templates.
- Returns:
- Specifies a put integration response's templates.
-
setResponseTemplates
Specifies a put integration response's templates.
- Parameters:
responseTemplates
- Specifies a put integration response's templates.
-
withResponseTemplates
Specifies a put integration response's templates.
- Parameters:
responseTemplates
- Specifies a put integration response's templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResponseTemplatesEntry
-
clearResponseTemplatesEntries
Removes all the entries added into ResponseTemplates. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-