Interface CreateRequestValidatorRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRequestValidatorRequest.Builder,
,CreateRequestValidatorRequest> SdkBuilder<CreateRequestValidatorRequest.Builder,
,CreateRequestValidatorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRequestValidatorRequest
public static interface CreateRequestValidatorRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the to-be-created RequestValidator.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The string identifier of the associated RestApi.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
).validateRequestParameters
(Boolean validateRequestParameters) A Boolean flag to indicate whether to validate request parameters,true
, or notfalse
.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId
- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the to-be-created RequestValidator.
- Parameters:
name
- The name of the to-be-created RequestValidator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validateRequestBody
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (
true
) or not (false
).- Parameters:
validateRequestBody
- A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true
) or not (false
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validateRequestParameters
A Boolean flag to indicate whether to validate request parameters,
true
, or notfalse
.- Parameters:
validateRequestParameters
- A Boolean flag to indicate whether to validate request parameters,true
, or notfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRequestValidatorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRequestValidatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-