@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRequestValidatorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A set of validation rules for incoming Method requests.
In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.
| Constructor and Description | 
|---|
CreateRequestValidatorResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateRequestValidatorResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getId()
 The identifier of this RequestValidator. 
 | 
String | 
getName()
 The name of this RequestValidator 
 | 
Boolean | 
getValidateRequestBody()
 A Boolean flag to indicate whether to validate a request body according to the configured Model schema. 
 | 
Boolean | 
getValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters ( 
true) or not (false
 ). | 
int | 
hashCode()  | 
Boolean | 
isValidateRequestBody()
 A Boolean flag to indicate whether to validate a request body according to the configured Model schema. 
 | 
Boolean | 
isValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters ( 
true) or not (false
 ). | 
void | 
setId(String id)
 The identifier of this RequestValidator. 
 | 
void | 
setName(String name)
 The name of this RequestValidator 
 | 
void | 
setValidateRequestBody(Boolean validateRequestBody)
 A Boolean flag to indicate whether to validate a request body according to the configured Model schema. 
 | 
void | 
setValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters ( 
true) or not (false
 ). | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateRequestValidatorResult | 
withId(String id)
 The identifier of this RequestValidator. 
 | 
CreateRequestValidatorResult | 
withName(String name)
 The name of this RequestValidator 
 | 
CreateRequestValidatorResult | 
withValidateRequestBody(Boolean validateRequestBody)
 A Boolean flag to indicate whether to validate a request body according to the configured Model schema. 
 | 
CreateRequestValidatorResult | 
withValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters ( 
true) or not (false
 ). | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setId(String id)
The identifier of this RequestValidator.
id - The identifier of this RequestValidator.public String getId()
The identifier of this RequestValidator.
public CreateRequestValidatorResult withId(String id)
The identifier of this RequestValidator.
id - The identifier of this RequestValidator.public void setName(String name)
The name of this RequestValidator
name - The name of this RequestValidatorpublic String getName()
The name of this RequestValidator
public CreateRequestValidatorResult withName(String name)
The name of this RequestValidator
name - The name of this RequestValidatorpublic void setValidateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model
        schema.public Boolean getValidateRequestBody()
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
public CreateRequestValidatorResult withValidateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model
        schema.public Boolean isValidateRequestBody()
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
public void setValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters (true) or not (false
 ).
 
validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (
        false).public Boolean getValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters (true) or not (false
 ).
 
true) or not (
         false).public CreateRequestValidatorResult withValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters (true) or not (false
 ).
 
validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (
        false).public Boolean isValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters (true) or not (false
 ).
 
true) or not (
         false).public String toString()
toString in class ObjectObject.toString()public CreateRequestValidatorResult clone()
Copyright © 2022. All rights reserved.