public static interface CreateRequestValidatorResponse.Builder extends ApiGatewayResponse.Builder, CopyableBuilder<CreateRequestValidatorResponse.Builder,CreateRequestValidatorResponse>
Modifier and Type | Method and Description |
---|---|
CreateRequestValidatorResponse.Builder |
id(String id)
The identifier of this RequestValidator.
|
CreateRequestValidatorResponse.Builder |
name(String name)
The name of this RequestValidator
|
CreateRequestValidatorResponse.Builder |
validateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model
schema.
|
CreateRequestValidatorResponse.Builder |
validateRequestParameters(Boolean validateRequestParameters)
A Boolean flag to indicate whether to validate request parameters (
true ) or not (
false ). |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateRequestValidatorResponse.Builder id(String id)
The identifier of this RequestValidator.
id
- The identifier of this RequestValidator.CreateRequestValidatorResponse.Builder name(String name)
The name of this RequestValidator
name
- The name of this RequestValidatorCreateRequestValidatorResponse.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.CreateRequestValidatorResponse.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.