@Stability(value=Experimental) @Internal public static final class RequestValidatorProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RequestValidatorProps
RequestValidatorPropssoftware.amazon.jsii.JsiiObject.InitializationModeRequestValidatorProps.Builder, RequestValidatorProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IRestApi restApi,
String requestValidatorName,
Boolean validateRequestBody,
Boolean validateRequestParameters)
Constructor that initializes the object based on literal property values passed by the
RequestValidatorProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getRequestValidatorName()
(experimental) The name of this request validator.
|
IRestApi |
getRestApi()
(experimental) The rest API that this model is part of.
|
Boolean |
getValidateRequestBody()
(experimental) Indicates whether to validate the request body according to the configured schema for the targeted API and method.
|
Boolean |
getValidateRequestParameters()
(experimental) Indicates whether to validate request parameters.
|
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(IRestApi restApi, String requestValidatorName, Boolean validateRequestBody, Boolean validateRequestParameters)
RequestValidatorProps.Builder.public final IRestApi getRestApi()
RequestValidatorPropsThe reason we need the RestApi object itself and not just the ID is because the model is being tracked by the top-level RestApi object for the purpose of calculating it's hash to determine the ID of the deployment. This allows us to automatically update the deployment when the model of the REST API changes.
getRestApi in interface RequestValidatorPropspublic final String getRequestValidatorName()
RequestValidatorOptionsDefault: None
getRequestValidatorName in interface RequestValidatorOptionspublic final Boolean getValidateRequestBody()
RequestValidatorOptionsDefault: false
getValidateRequestBody in interface RequestValidatorOptionspublic final Boolean getValidateRequestParameters()
RequestValidatorOptionsDefault: false
getValidateRequestParameters in interface RequestValidatorOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.