Class CfnMethod.MethodResponseProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnMethod.MethodResponseProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnMethod.MethodResponseProperty
CfnMethod.MethodResponseProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.CfnMethod.MethodResponseProperty
CfnMethod.MethodResponseProperty.Builder, CfnMethod.MethodResponseProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnMethod.MethodResponseProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectSpecifies the Model resources used for the response's content-type.final ObjectA key-value map specifying required or optional response parameters that API Gateway can send back to the caller.final StringThe method response's status code.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnMethod.MethodResponseProperty.Builder.
-
-
Method Details
-
getStatusCode
Description copied from interface:CfnMethod.MethodResponsePropertyThe method response's status code.- Specified by:
getStatusCodein interfaceCfnMethod.MethodResponseProperty
-
getResponseModels
Description copied from interface:CfnMethod.MethodResponsePropertySpecifies the Model resources used for the response's content-type.Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.
- Specified by:
getResponseModelsin interfaceCfnMethod.MethodResponseProperty
-
getResponseParameters
Description copied from interface:CfnMethod.MethodResponsePropertyA key-value map specifying required or optional response parameters that API Gateway can send back to the caller.A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern
method.response.header.{name}, wherenameis a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed inintegration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g.,'application/json'), or a JSON expression from the back-end response payload in the form ofintegration.response.body.{JSON-expression}, whereJSON-expressionis a valid JSON expression without the$prefix.)- Specified by:
getResponseParametersin interfaceCfnMethod.MethodResponseProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-