CopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
, SdkBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
public static interface CreateRequestValidatorRequest.Builder extends CopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateRequestValidatorRequest.Builder |
name(String name) |
The name of the to-be-created RequestValidator.
|
CreateRequestValidatorRequest.Builder |
restApiId(String restApiId) |
[Required] The identifier of the RestApi for which the RequestValidator is created.
|
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 . |
copy
apply, build
CreateRequestValidatorRequest.Builder restApiId(String restApiId)
[Required] The identifier of the RestApi for which the RequestValidator is created.
restApiId
- [Required] The identifier of the RestApi for which the RequestValidator is created.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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.