@Stability(value=Experimental) @Internal public static final class FixedResponseOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FixedResponseOptions
FixedResponseOptionssoftware.amazon.jsii.JsiiObject.InitializationModeFixedResponseOptions.Builder, FixedResponseOptions.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 contentType,
String messageBody)
Constructor that initializes the object based on literal property values passed by the
FixedResponseOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getContentType()
(experimental) Content Type of the response.
|
String |
getMessageBody()
(experimental) The response body.
|
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(String contentType, String messageBody)
FixedResponseOptions.Builder.public final String getContentType()
FixedResponseOptionsValid Values: text/plain | text/css | text/html | application/javascript | application/json
Default: - Automatically determined
getContentType in interface FixedResponseOptionspublic final String getMessageBody()
FixedResponseOptionsDefault: - No body
getMessageBody in interface FixedResponseOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.