Class RequestValidatorProps.Jsii$Proxy

All Implemented Interfaces:
RequestValidatorOptions, RequestValidatorProps,
Enclosing interface:

@Stability(Stable) @Internal public static final class RequestValidatorProps.Jsii$Proxy extends implements RequestValidatorProps
An implementation for RequestValidatorProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(RequestValidatorProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RequestValidatorProps.Builder.
  • Method Details

    • getRestApi

      public final IRestApi getRestApi()
      Description copied from interface: RequestValidatorProps
      The rest API that this model is part of.

      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.

      Specified by:
      getRestApi in interface RequestValidatorProps
    • getRequestValidatorName

      public final String getRequestValidatorName()
      Description copied from interface: RequestValidatorOptions
      The name of this request validator.

      Default: None

      Specified by:
      getRequestValidatorName in interface RequestValidatorOptions
    • getValidateRequestBody

      public final Boolean getValidateRequestBody()
      Description copied from interface: RequestValidatorOptions
      Indicates whether to validate the request body according to the configured schema for the targeted API and method.

      Default: false

      Specified by:
      getValidateRequestBody in interface RequestValidatorOptions
    • getValidateRequestParameters

      public final Boolean getValidateRequestParameters()
      Description copied from interface: RequestValidatorOptions
      Indicates whether to validate request parameters.

      Default: false

      Specified by:
      getValidateRequestParameters in interface RequestValidatorOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object