Class RequestValidator
java.lang.Object
software.amazon.awssdk.services.apigateway.model.RequestValidator
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RequestValidator.Builder,RequestValidator>
@Generated("software.amazon.awssdk:codegen")
public final class RequestValidator
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<RequestValidator.Builder,RequestValidator>
A set of validation rules for incoming Method requests.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestValidator.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The identifier of this RequestValidator.final Stringname()The name of this RequestValidatorstatic Class<? extends RequestValidator.Builder>final StringtoString()Returns a string representation of this object.final BooleanA Boolean flag to indicate whether to validate a request body according to the configured Model schema.final BooleanA Boolean flag to indicate whether to validate request parameters (true) or not (false).Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The identifier of this RequestValidator.
- Returns:
- The identifier of this RequestValidator.
-
name
The name of this RequestValidator
- Returns:
- The name of this RequestValidator
-
validateRequestBody
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
- Returns:
- A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
-
validateRequestParameters
A Boolean flag to indicate whether to validate request parameters (
true) or not (false).- Returns:
- A Boolean flag to indicate whether to validate request parameters (
true) or not (false).
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RequestValidator.Builder,RequestValidator>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-