@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()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getName()
 The name of the to-be-created RequestValidator. 
 | 
String | 
getRestApiId()
 [Required] 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 not false. | 
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 not false. | 
void | 
setName(String name)
 The name of the to-be-created RequestValidator. 
 | 
void | 
setRestApiId(String restApiId)
 [Required] 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 not false. | 
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)
 [Required] 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 not false. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.public String getRestApiId()
[Required] The string identifier of the associated RestApi.
public CreateRequestValidatorRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] 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()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.