@Stability(value=Experimental) @Internal public static final class GatewayResponseProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GatewayResponseProps
GatewayResponsePropssoftware.amazon.jsii.JsiiObject.InitializationModeGatewayResponseProps.Builder, GatewayResponseProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IRestApi restApi,
ResponseType type,
Map<String,String> responseHeaders,
String statusCode,
Map<String,String> templates)
Constructor that initializes the object based on literal property values passed by the
GatewayResponseProps.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) |
Map<String,String> |
getResponseHeaders()
(experimental) Custom headers parameters for response.
|
IRestApi |
getRestApi()
(experimental) Rest api resource to target.
|
String |
getStatusCode()
(experimental) Http status code for response.
|
Map<String,String> |
getTemplates()
(experimental) Custom templates to get mapped as response.
|
ResponseType |
getType()
(experimental) Response type to associate with gateway 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(IRestApi restApi, ResponseType type, Map<String,String> responseHeaders, String statusCode, Map<String,String> templates)
GatewayResponseProps.Builder.public final IRestApi getRestApi()
GatewayResponsePropsgetRestApi in interface GatewayResponsePropspublic final ResponseType getType()
GatewayResponseOptionsgetType in interface GatewayResponseOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.htmlpublic final Map<String,String> getResponseHeaders()
GatewayResponseOptionsDefault: - no headers
getResponseHeaders in interface GatewayResponseOptionspublic final String getStatusCode()
GatewayResponseOptionsDefault: - standard http status code for the response type.
getStatusCode in interface GatewayResponseOptionspublic final Map<String,String> getTemplates()
GatewayResponseOptionsDefault: - Response from api will be returned without applying any transformation.
getTemplates in interface GatewayResponseOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.