@Stability(value=Stable) @Internal public static final class CfnMethod.IntegrationResponseProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMethod.IntegrationResponseProperty
CfnMethod.IntegrationResponsePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnMethod.IntegrationResponseProperty.Builder, CfnMethod.IntegrationResponseProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnMethod.IntegrationResponseProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnMethod.IntegrationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getContentHandling()
Specifies how to handle request payload content type conversions.
|
Object |
getResponseParameters()
The response parameters from the backend response that API Gateway sends to the method response.
|
Object |
getResponseTemplates()
The templates that are used to transform the integration response body.
|
String |
getSelectionPattern()
A [regular expression](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-regexes.html) that specifies which error strings or status codes from the backend map to the integration response.
|
String |
getStatusCode()
The status code that API Gateway uses to map the integration response to a [MethodResponse](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html) status code.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnMethod.IntegrationResponseProperty.Builder builder)
CfnMethod.IntegrationProperty.Builder.public final String getStatusCode()
CfnMethod.IntegrationResponsePropertygetStatusCode in interface CfnMethod.IntegrationResponsePropertypublic final String getContentHandling()
CfnMethod.IntegrationResponseProperty
CONVERT_TO_BINARY : Converts a request payload from a base64-encoded string to a binary blob.CONVERT_TO_TEXT : Converts a request payload from a binary blob to a base64-encoded string.If this property isn't defined, the request payload is passed through from the method request to the integration request without modification.
getContentHandling in interface CfnMethod.IntegrationResponsePropertypublic final Object getResponseParameters()
CfnMethod.IntegrationResponsePropertySpecify response parameters as key-value pairs ( string-to-string mappings ).
Use the destination as the key and the source as the value:
For more information about templates, see API Gateway Mapping Template and Access Logging Variable Reference in the API Gateway Developer Guide .
getResponseParameters in interface CfnMethod.IntegrationResponsePropertypublic final Object getResponseTemplates()
CfnMethod.IntegrationResponsePropertySpecify templates as key-value pairs (string-to-string mappings), with a content type as the key and a template as the value. For more information, see API Gateway Mapping Template and Access Logging Variable Reference in the API Gateway Developer Guide .
getResponseTemplates in interface CfnMethod.IntegrationResponsePropertypublic final String getSelectionPattern()
CfnMethod.IntegrationResponsePropertygetSelectionPattern in interface CfnMethod.IntegrationResponseProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.