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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.CfnMethod.MethodResponseProperty
CfnMethod.MethodResponseProperty.Builder, CfnMethod.MethodResponseProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnMethod.MethodResponseProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
Specifies the Model resources used for the response's content-type.final Object
A key-value map specifying required or optional response parameters that API Gateway can send back to the caller.final String
The method response's status code.final int
hashCode()
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.MethodResponseProperty
The method response's status code.- Specified by:
getStatusCode
in interfaceCfnMethod.MethodResponseProperty
- See Also:
-
getResponseModels
Description copied from interface:CfnMethod.MethodResponseProperty
Specifies 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:
getResponseModels
in interfaceCfnMethod.MethodResponseProperty
- See Also:
-
getResponseParameters
Description copied from interface:CfnMethod.MethodResponseProperty
A 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}
, wherename
is 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-expression
is a valid JSON expression without the$
prefix.)- Specified by:
getResponseParameters
in interfaceCfnMethod.MethodResponseProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-