public class PutIntegrationResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a put integration response request.
NOOP
Constructor and Description |
---|
PutIntegrationResponseRequest() |
Modifier and Type | Method and Description |
---|---|
PutIntegrationResponseRequest |
addResponseParametersEntry(String key,
String value) |
PutIntegrationResponseRequest |
addResponseTemplatesEntry(String key,
String value) |
PutIntegrationResponseRequest |
clearResponseParametersEntries()
Removes all the entries added into ResponseParameters.
|
PutIntegrationResponseRequest |
clearResponseTemplatesEntries()
Removes all the entries added into ResponseTemplates.
|
PutIntegrationResponseRequest |
clone() |
boolean |
equals(Object obj) |
String |
getHttpMethod()
Specifies a put integration response request's HTTP method.
|
String |
getResourceId()
Specifies a put integration response request's resource identifier.
|
Map<String,String> |
getResponseParameters()
Represents response parameters that can be read from the backend
response.
|
Map<String,String> |
getResponseTemplates()
Specifies a put integration response's templates.
|
String |
getRestApiId()
Specifies a put integration response request's API identifier.
|
String |
getSelectionPattern()
Specifies the selection pattern of a put integration response.
|
String |
getStatusCode()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutIntegrationResponseRequest |
withHttpMethod(String httpMethod)
Specifies a put integration response request's HTTP method.
|
PutIntegrationResponseRequest |
withResourceId(String resourceId)
Specifies a put integration response request's resource identifier.
|
PutIntegrationResponseRequest |
withResponseParameters(Map<String,String> responseParameters)
Represents response parameters that can be read from the backend
response.
|
PutIntegrationResponseRequest |
withResponseTemplates(Map<String,String> responseTemplates)
Specifies a put integration response's templates.
|
PutIntegrationResponseRequest |
withRestApiId(String restApiId)
Specifies a put integration response request's API identifier.
|
PutIntegrationResponseRequest |
withSelectionPattern(String selectionPattern)
Specifies the selection pattern of a put integration response.
|
PutIntegrationResponseRequest |
withStatusCode(String statusCode)
Specifies the status code that is used to map the integration response to
an existing MethodResponse.
|
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
public void setRestApiId(String restApiId)
Specifies a put integration response request's API identifier.
restApiId
- Specifies a put integration response request's API identifier.public String getRestApiId()
Specifies a put integration response request's API identifier.
public PutIntegrationResponseRequest withRestApiId(String restApiId)
Specifies a put integration response request's API identifier.
restApiId
- Specifies a put integration response request's API identifier.public void setResourceId(String resourceId)
Specifies a put integration response request's resource identifier.
resourceId
- Specifies a put integration response request's resource
identifier.public String getResourceId()
Specifies a put integration response request's resource identifier.
public PutIntegrationResponseRequest withResourceId(String resourceId)
Specifies a put integration response request's resource identifier.
resourceId
- Specifies a put integration response request's resource
identifier.public void setHttpMethod(String httpMethod)
Specifies a put integration response request's HTTP method.
httpMethod
- Specifies a put integration response request's HTTP method.public String getHttpMethod()
Specifies a put integration response request's HTTP method.
public PutIntegrationResponseRequest withHttpMethod(String httpMethod)
Specifies a put integration response request's HTTP method.
httpMethod
- Specifies a put integration response request's HTTP method.public void setStatusCode(String statusCode)
Specifies the status code that is used to map the integration response to an existing MethodResponse.
statusCode
- Specifies the status code that is used to map the integration
response to an existing MethodResponse.public String getStatusCode()
Specifies the status code that is used to map the integration response to an existing MethodResponse.
public PutIntegrationResponseRequest withStatusCode(String statusCode)
Specifies the status code that is used to map the integration response to an existing MethodResponse.
statusCode
- Specifies the status code that is used to map the integration
response to an existing MethodResponse.public void setSelectionPattern(String selectionPattern)
Specifies the selection pattern of a put integration response.
selectionPattern
- Specifies the selection pattern of a put integration response.public String getSelectionPattern()
Specifies the selection pattern of a put integration response.
public PutIntegrationResponseRequest withSelectionPattern(String selectionPattern)
Specifies the selection pattern of a put integration response.
selectionPattern
- Specifies the selection pattern of a put integration response.public Map<String,String> 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}
.
integration.response.header.{name}
.public void setResponseParameters(Map<String,String> 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 pattern
integration.response.header.{name}
.
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 pattern integration.response.header.{name}
.public PutIntegrationResponseRequest withResponseParameters(Map<String,String> 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 pattern
integration.response.header.{name}
.
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 pattern integration.response.header.{name}
.public PutIntegrationResponseRequest addResponseParametersEntry(String key, String value)
public PutIntegrationResponseRequest clearResponseParametersEntries()
public Map<String,String> getResponseTemplates()
Specifies a put integration response's templates.
public void setResponseTemplates(Map<String,String> responseTemplates)
Specifies a put integration response's templates.
responseTemplates
- Specifies a put integration response's templates.public PutIntegrationResponseRequest withResponseTemplates(Map<String,String> responseTemplates)
Specifies a put integration response's templates.
responseTemplates
- Specifies a put integration response's templates.public PutIntegrationResponseRequest addResponseTemplatesEntry(String key, String value)
public PutIntegrationResponseRequest clearResponseTemplatesEntries()
public String toString()
toString
in class Object
Object.toString()
public PutIntegrationResponseRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.