Interface GetRequestValidatorResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetRequestValidatorResponse.Builder,,GetRequestValidatorResponse> SdkBuilder<GetRequestValidatorResponse.Builder,,GetRequestValidatorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRequestValidatorResponse
public static interface GetRequestValidatorResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetRequestValidatorResponse.Builder,GetRequestValidatorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of this RequestValidator.The name of this RequestValidatorvalidateRequestBody(Boolean validateRequestBody) A Boolean flag to indicate whether to validate a request body according to the configured Model schema.validateRequestParameters(Boolean validateRequestParameters) A Boolean flag to indicate whether to validate request parameters (true) or not (false).Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The identifier of this RequestValidator.
- Parameters:
id- The identifier of this RequestValidator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of this RequestValidator
- Parameters:
name- The name of this 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 a request body according to the configured Model schema.
- Parameters:
validateRequestBody- A Boolean flag to indicate whether to validate a request body according to the configured Model schema.- 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 not (false).- Parameters:
validateRequestParameters- A Boolean flag to indicate whether to validate request parameters (true) or not (false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-