Interface RequestValidator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RequestValidator.Builder,
,RequestValidator> SdkBuilder<RequestValidator.Builder,
,RequestValidator> SdkPojo
- Enclosing class:
RequestValidator
@Mutable
@NotThreadSafe
public static interface RequestValidator.Builder
extends SdkPojo, CopyableBuilder<RequestValidator.Builder,RequestValidator>
-
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.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, sdkFieldNameToField, sdkFields
-
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.
-