#[non_exhaustive]pub struct CreateRequestValidatorInput { /* private fields */ }Expand description
Creates a RequestValidator of a given RestApi.
Implementations§
source§impl CreateRequestValidatorInput
impl CreateRequestValidatorInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRequestValidator, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRequestValidator, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRequestValidator>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRequestValidatorInput.
source§impl CreateRequestValidatorInput
impl CreateRequestValidatorInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn validate_request_body(&self) -> bool
pub fn validate_request_body(&self) -> bool
A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).
sourcepub fn validate_request_parameters(&self) -> bool
pub fn validate_request_parameters(&self) -> bool
A Boolean flag to indicate whether to validate request parameters, true, or not false.
Trait Implementations§
source§impl Clone for CreateRequestValidatorInput
impl Clone for CreateRequestValidatorInput
source§fn clone(&self) -> CreateRequestValidatorInput
fn clone(&self) -> CreateRequestValidatorInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateRequestValidatorInput
impl Debug for CreateRequestValidatorInput
source§impl PartialEq<CreateRequestValidatorInput> for CreateRequestValidatorInput
impl PartialEq<CreateRequestValidatorInput> for CreateRequestValidatorInput
source§fn eq(&self, other: &CreateRequestValidatorInput) -> bool
fn eq(&self, other: &CreateRequestValidatorInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.