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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateRequestValidatorRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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. |
buildrequestOverrideConfigcopyapply, buildCreateRequestValidatorRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateRequestValidatorRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.