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