@Stability(value=Stable) public static final class CfnRequestValidator.Builder extends Object implements software.amazon.jsii.Builder<CfnRequestValidator>
CfnRequestValidator.| Modifier and Type | Method and Description |
|---|---|
CfnRequestValidator |
build() |
static CfnRequestValidator.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRequestValidator.Builder |
name(String name)
The name of this request validator.
|
CfnRequestValidator.Builder |
restApiId(String restApiId)
The identifier of the targeted API entity.
|
CfnRequestValidator.Builder |
validateRequestBody(Boolean validateRequestBody)
Indicates whether to validate the request body according to the configured schema for the targeted API and method.
|
CfnRequestValidator.Builder |
validateRequestBody(IResolvable validateRequestBody)
Indicates whether to validate the request body according to the configured schema for the targeted API and method.
|
CfnRequestValidator.Builder |
validateRequestParameters(Boolean validateRequestParameters)
Indicates whether to validate request parameters.
|
CfnRequestValidator.Builder |
validateRequestParameters(IResolvable validateRequestParameters)
Indicates whether to validate request parameters.
|
@Stability(value=Stable) public static CfnRequestValidator.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnRequestValidator.Builder.@Stability(value=Stable) public CfnRequestValidator.Builder restApiId(String restApiId)
restApiId - The identifier of the targeted API entity. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator.Builder name(String name)
name - The name of this request validator. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator.Builder validateRequestBody(Boolean validateRequestBody)
validateRequestBody - Indicates whether to validate the request body according to the configured schema for the targeted API and method. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator.Builder validateRequestBody(IResolvable validateRequestBody)
validateRequestBody - Indicates whether to validate the request body according to the configured schema for the targeted API and method. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator.Builder validateRequestParameters(Boolean validateRequestParameters)
validateRequestParameters - Indicates whether to validate request parameters. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator.Builder validateRequestParameters(IResolvable validateRequestParameters)
validateRequestParameters - Indicates whether to validate request parameters. This parameter is required.this@Stability(value=Stable) public CfnRequestValidator build()
build in interface software.amazon.jsii.Builder<CfnRequestValidator>Copyright © 2022. All rights reserved.