RequestValidatorArgs class
The set of arguments for RequestValidator. The set of arguments for RequestValidator.
Constructors
-
RequestValidatorArgs({Input<
String?> ? name, Input<String?> ? region, required Input restApi, Input<bool?> ? validateRequestBody, Input<bool?> ? validateRequestParameters}) -
Creates a new RequestValidatorArgs.
nameName of the request validatorregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.restApiID of the associated Rest APIvalidateRequestBodyBoolean whether to validate request body. Defaults tofalse.validateRequestParametersBoolean whether to validate request parameters. Defaults tofalse.const -
RequestValidatorArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the request validator
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- restApi → Input
-
ID of the associated Rest API
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validateRequestBody
→ Input<
bool?> ? -
Boolean whether to validate request body. Defaults to
false.final -
validateRequestParameters
→ Input<
bool?> ? -
Boolean whether to validate request parameters. Defaults to
false.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited