Interface RequestValidatorProps

All Superinterfaces:, RequestValidatorOptions
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.061Z") @Stability(Stable) public interface RequestValidatorProps extends, RequestValidatorOptions

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RestApi restApi;
 RequestValidatorProps requestValidatorProps = RequestValidatorProps.builder()
         // the properties below are optional
  • Method Details

    • getRestApi

      @Stability(Stable) @NotNull IRestApi getRestApi()
      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.

    • builder

      @Stability(Stable) static RequestValidatorProps.Builder builder()
      a RequestValidatorProps.Builder of RequestValidatorProps