@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRequestValidatorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A set of validation rules for incoming Method requests.
Constructor and Description |
---|
GetRequestValidatorResult() |
Modifier and Type | Method and Description |
---|---|
GetRequestValidatorResult |
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.
|
GetRequestValidatorResult |
withId(String id)
The identifier of this RequestValidator.
|
GetRequestValidatorResult |
withName(String name)
The name of this RequestValidator
|
GetRequestValidatorResult |
withValidateRequestBody(Boolean validateRequestBody)
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
|
GetRequestValidatorResult |
withValidateRequestParameters(Boolean validateRequestParameters)
A Boolean flag to indicate whether to validate request parameters (
true ) or not (false
). |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier of this RequestValidator.
id
- The identifier of this RequestValidator.public String getId()
The identifier of this RequestValidator.
public GetRequestValidatorResult 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 GetRequestValidatorResult 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 GetRequestValidatorResult 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 GetRequestValidatorResult 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 Object
Object.toString()
public GetRequestValidatorResult clone()