@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRequestValidatorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a RequestValidator of a given RestApi.
NOOP| Constructor and Description | 
|---|
| CreateRequestValidatorRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateRequestValidatorRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getName()
 The name of the to-be-created RequestValidator. | 
| String | getRestApiId()
 The string identifier of the associated RestApi. | 
| Boolean | getValidateRequestBody()
 A Boolean flag to indicate whether to validate request body according to the configured model schema for the
 method ( true) or not (false). | 
| Boolean | getValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters,  true, or notfalse. | 
| int | hashCode() | 
| Boolean | isValidateRequestBody()
 A Boolean flag to indicate whether to validate request body according to the configured model schema for the
 method ( true) or not (false). | 
| Boolean | isValidateRequestParameters()
 A Boolean flag to indicate whether to validate request parameters,  true, or notfalse. | 
| void | setName(String name)
 The name of the to-be-created RequestValidator. | 
| void | setRestApiId(String restApiId)
 The string identifier of the associated RestApi. | 
| void | setValidateRequestBody(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). | 
| void | setValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters,  true, or notfalse. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| CreateRequestValidatorRequest | withName(String name)
 The name of the to-be-created RequestValidator. | 
| CreateRequestValidatorRequest | withRestApiId(String restApiId)
 The string identifier of the associated RestApi. | 
| CreateRequestValidatorRequest | withValidateRequestBody(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). | 
| CreateRequestValidatorRequest | withValidateRequestParameters(Boolean validateRequestParameters)
 A Boolean flag to indicate whether to validate request parameters,  true, or notfalse. | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public CreateRequestValidatorRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.public void setName(String name)
The name of the to-be-created RequestValidator.
name - The name of the to-be-created RequestValidator.public String getName()
The name of the to-be-created RequestValidator.
public CreateRequestValidatorRequest withName(String name)
The name of the to-be-created RequestValidator.
name - The name of the to-be-created RequestValidator.public void setValidateRequestBody(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).
 
validateRequestBody - A Boolean flag to indicate whether to validate request body according to the configured model schema for
        the method (true) or not (false).public Boolean getValidateRequestBody()
 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 CreateRequestValidatorRequest withValidateRequestBody(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).
 
validateRequestBody - A Boolean flag to indicate whether to validate request body according to the configured model schema for
        the method (true) or not (false).public Boolean isValidateRequestBody()
 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 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 CreateRequestValidatorRequest 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 CreateRequestValidatorRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.