public static interface GetRequestValidatorResponse.Builder extends APIGatewayResponse.Builder, CopyableBuilder<GetRequestValidatorResponse.Builder,GetRequestValidatorResponse>
Modifier and Type | Method and Description |
---|---|
GetRequestValidatorResponse.Builder |
id(String id)
The identifier of this RequestValidator.
|
GetRequestValidatorResponse.Builder |
name(String name)
The name of this RequestValidator
|
GetRequestValidatorResponse.Builder |
validateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model
schema.
|
GetRequestValidatorResponse.Builder |
validateRequestParameters(Boolean validateRequestParameters)
A Boolean flag to indicate whether to validate request parameters (
true ) or not (
false ). |
build
copy
apply, build
GetRequestValidatorResponse.Builder id(String id)
The identifier of this RequestValidator.
id
- The identifier of this RequestValidator.GetRequestValidatorResponse.Builder name(String name)
The name of this RequestValidator
name
- The name of this RequestValidatorGetRequestValidatorResponse.Builder validateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
validateRequestBody
- A Boolean flag to indicate whether to validate a request body according to the configured Model
schema.GetRequestValidatorResponse.Builder validateRequestParameters(Boolean validateRequestParameters)
A Boolean flag to indicate whether to validate request parameters (true
) or not (
false
).
validateRequestParameters
- A Boolean flag to indicate whether to validate request parameters (true
) or not (
false
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.