@Stability(value=Experimental) @Internal public static final class MethodResponse.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MethodResponse
MethodResponsesoftware.amazon.jsii.JsiiObject.InitializationModeMethodResponse.Builder, MethodResponse.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String statusCode,
Map<String,? extends IModel> responseModels,
Map<String,? extends Boolean> responseParameters)
Constructor that initializes the object based on literal property values passed by the
MethodResponse.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,IModel> |
getResponseModels()
(experimental) The resources used for the response's content type.
|
Map<String,Boolean> |
getResponseParameters()
(experimental) Response parameters that API Gateway sends to the client that called a method.
|
String |
getStatusCode()
(experimental) The method response's status code, which you map to an IntegrationResponse.
|
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.public final String getStatusCode()
MethodResponseRequired.
getStatusCode in interface MethodResponsepublic final Map<String,IModel> getResponseModels()
MethodResponseSpecify 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
getResponseModels in interface MethodResponsepublic final Map<String,Boolean> getResponseParameters()
MethodResponseSpecify 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
getResponseParameters in interface MethodResponse@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.