@Stability(value=Stable) @Internal public static final class CfnIntegrationResponseProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnIntegrationResponseProps
CfnIntegrationResponsePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnIntegrationResponseProps.Builder, CfnIntegrationResponseProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnIntegrationResponseProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnIntegrationResponseProps.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 |
getApiId()
The API identifier.
|
String |
getContentHandlingStrategy()
Supported only for WebSocket APIs.
|
String |
getIntegrationId()
The integration ID.
|
String |
getIntegrationResponseKey()
The integration response key.
|
Object |
getResponseParameters()
A key-value map specifying response parameters that are passed to the method response from the backend.
|
Object |
getResponseTemplates()
The collection of response templates for the integration response as a string-to-string map of key-value pairs.
|
String |
getTemplateSelectionExpression()
The template selection expression for the integration response.
|
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(CfnIntegrationResponseProps.Builder builder)
CfnIntegrationResponseProps.Builder.public final String getApiId()
CfnIntegrationResponsePropsgetApiId in interface CfnIntegrationResponsePropspublic final String getIntegrationId()
CfnIntegrationResponsePropsgetIntegrationId in interface CfnIntegrationResponsePropspublic final String getIntegrationResponseKey()
CfnIntegrationResponsePropsgetIntegrationResponseKey in interface CfnIntegrationResponsePropspublic final String getContentHandlingStrategy()
CfnIntegrationResponseProps
Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT , with the following behaviors:
CONVERT_TO_BINARY : Converts a response payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT : Converts a response payload from a binary blob to a Base64-encoded string.
If this property is not defined, the response payload will be passed through from the integration response to the route response or method response without modification.
getContentHandlingStrategy in interface CfnIntegrationResponsePropspublic final Object getResponseParameters()
CfnIntegrationResponseProps
The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header. *{name}* , where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header. *{name}* or integration.response.body. *{JSON-expression}* , where *{name}* is a valid and unique response header name and *{JSON-expression}* is a valid JSON expression without the $ prefix.
getResponseParameters in interface CfnIntegrationResponsePropspublic final Object getResponseTemplates()
CfnIntegrationResponsePropsResponse templates are represented as a key/value map, with a content-type as the key and a template as the value.
getResponseTemplates in interface CfnIntegrationResponsePropspublic final String getTemplateSelectionExpression()
CfnIntegrationResponsePropsSupported only for WebSocket APIs.
getTemplateSelectionExpression in interface CfnIntegrationResponseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.