@Generated(value="software.amazon.awssdk:codegen") public final class CreateRequestValidatorRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>
Creates a RequestValidator of a given RestApi.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateRequestValidatorRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateRequestValidatorRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the to-be-created RequestValidator.
|
String |
restApiId()
The string identifier of the associated RestApi.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRequestValidatorRequest.Builder> |
serializableBuilderClass() |
CreateRequestValidatorRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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). |
Boolean |
validateRequestParameters()
A Boolean flag to indicate whether to validate request parameters,
true, or not false. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String restApiId()
The string identifier of the associated RestApi.
public final String name()
The name of the to-be-created RequestValidator.
public final 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).
true) or not (false).public final Boolean validateRequestParameters()
A Boolean flag to indicate whether to validate request parameters, true, or not false.
true, or not
false.public CreateRequestValidatorRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateRequestValidatorRequest.Builder,CreateRequestValidatorRequest>toBuilder in class ApiGatewayRequestpublic static CreateRequestValidatorRequest.Builder builder()
public static Class<? extends CreateRequestValidatorRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.