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