public static interface CreateRequestValidatorRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
Modifier and Type | Method and Description |
---|---|
CreateRequestValidatorRequest.Builder |
name(String name)
The name of the to-be-created RequestValidator.
|
CreateRequestValidatorRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateRequestValidatorRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRequestValidatorRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
CreateRequestValidatorRequest.Builder |
validateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate request body according to the configured model schema for the
method (
true ) or not (false ). |
CreateRequestValidatorRequest.Builder |
validateRequestParameters(Boolean validateRequestParameters)
A Boolean flag to indicate whether to validate request parameters,
true , or not
false . |
build
overrideConfiguration
copy
applyMutation, build
CreateRequestValidatorRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.CreateRequestValidatorRequest.Builder name(String name)
The name of the to-be-created RequestValidator.
name
- The name of the to-be-created RequestValidator.CreateRequestValidatorRequest.Builder validateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate request body according to the configured model schema for the
method (true
) or not (false
).
validateRequestBody
- A Boolean flag to indicate whether to validate request body according to the configured model schema
for the method (true
) or not (false
).CreateRequestValidatorRequest.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
.CreateRequestValidatorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateRequestValidatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.