public static final class RequestValidatorProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RequestValidatorProps
RequestValidatorProps
RequestValidatorProps.Builder, RequestValidatorProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getRequestValidatorName()
The name of this request validator.
|
IRestApi |
getRestApi()
The rest API that this model is part of.
|
java.lang.Boolean |
getValidateRequestBody()
Indicates whether to validate the request body according to the configured schema for the targeted API and method.
|
java.lang.Boolean |
getValidateRequestParameters()
Indicates whether to validate request parameters.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IRestApi getRestApi()
RequestValidatorProps
The 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 RequestValidatorProps
public final java.lang.String getRequestValidatorName()
RequestValidatorOptions
Default: None
getRequestValidatorName
in interface RequestValidatorOptions
public final java.lang.Boolean getValidateRequestBody()
RequestValidatorOptions
Default: false
getValidateRequestBody
in interface RequestValidatorOptions
public final java.lang.Boolean getValidateRequestParameters()
RequestValidatorOptions
Default: false
getValidateRequestParameters
in interface RequestValidatorOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()