Class MethodResponse.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.MethodResponse.Jsii$Proxy
- All Implemented Interfaces:
MethodResponse
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MethodResponse
@Stability(Stable)
@Internal
public static final class MethodResponse.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MethodResponse
An implementation for
MethodResponse
-
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.MethodResponse
MethodResponse.Builder, MethodResponse.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(MethodResponse.Builder builder) Constructor that initializes the object based on literal property values passed by theMethodResponse.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
The resources used for the response's content type.Response parameters that API Gateway sends to the client that called a method.final String
The method response's status code, which you map to an IntegrationResponse.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 theMethodResponse.Builder
.
-
-
Method Details
-
getStatusCode
Description copied from interface:MethodResponse
The method response's status code, which you map to an IntegrationResponse.Required.
- Specified by:
getStatusCode
in interfaceMethodResponse
-
getResponseModels
Description copied from interface:MethodResponse
The resources used for the response's content type.Specify response models as key-value pairs (string-to-string maps), with a content type as the key and a Model resource name as the value.
Default: None
- Specified by:
getResponseModels
in interfaceMethodResponse
-
getResponseParameters
Description copied from interface:MethodResponse
Response parameters that API Gateway sends to the client that called a method.Specify response parameters as key-value pairs (string-to-Boolean maps), with a destination as the key and a Boolean as the value. Specify the destination using the following pattern: method.response.header.name, where the name is a valid, unique header name. The Boolean specifies whether a parameter is required.
Default: None
- Specified by:
getResponseParameters
in interfaceMethodResponse
-
$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()
-