Struct aws_sdk_apigateway::operation::create_request_validator::builders::CreateRequestValidatorOutputBuilder
source · #[non_exhaustive]pub struct CreateRequestValidatorOutputBuilder { /* private fields */ }
Expand description
A builder for CreateRequestValidatorOutput
.
Implementations§
source§impl CreateRequestValidatorOutputBuilder
impl CreateRequestValidatorOutputBuilder
sourcepub fn validate_request_body(self, input: bool) -> Self
pub fn validate_request_body(self, input: bool) -> Self
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
sourcepub fn set_validate_request_body(self, input: Option<bool>) -> Self
pub fn set_validate_request_body(self, input: Option<bool>) -> Self
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
sourcepub fn get_validate_request_body(&self) -> &Option<bool>
pub fn get_validate_request_body(&self) -> &Option<bool>
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
sourcepub fn validate_request_parameters(self, input: bool) -> Self
pub fn validate_request_parameters(self, input: bool) -> Self
A Boolean flag to indicate whether to validate request parameters (true
) or not (false
).
sourcepub fn set_validate_request_parameters(self, input: Option<bool>) -> Self
pub fn set_validate_request_parameters(self, input: Option<bool>) -> Self
A Boolean flag to indicate whether to validate request parameters (true
) or not (false
).
sourcepub fn get_validate_request_parameters(&self) -> &Option<bool>
pub fn get_validate_request_parameters(&self) -> &Option<bool>
A Boolean flag to indicate whether to validate request parameters (true
) or not (false
).
sourcepub fn build(self) -> CreateRequestValidatorOutput
pub fn build(self) -> CreateRequestValidatorOutput
Consumes the builder and constructs a CreateRequestValidatorOutput
.
Trait Implementations§
source§impl Clone for CreateRequestValidatorOutputBuilder
impl Clone for CreateRequestValidatorOutputBuilder
source§fn clone(&self) -> CreateRequestValidatorOutputBuilder
fn clone(&self) -> CreateRequestValidatorOutputBuilder
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 Default for CreateRequestValidatorOutputBuilder
impl Default for CreateRequestValidatorOutputBuilder
source§fn default() -> CreateRequestValidatorOutputBuilder
fn default() -> CreateRequestValidatorOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateRequestValidatorOutputBuilder> for CreateRequestValidatorOutputBuilder
impl PartialEq<CreateRequestValidatorOutputBuilder> for CreateRequestValidatorOutputBuilder
source§fn eq(&self, other: &CreateRequestValidatorOutputBuilder) -> bool
fn eq(&self, other: &CreateRequestValidatorOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRequestValidatorOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateRequestValidatorOutputBuilder
impl Send for CreateRequestValidatorOutputBuilder
impl Sync for CreateRequestValidatorOutputBuilder
impl Unpin for CreateRequestValidatorOutputBuilder
impl UnwindSafe for CreateRequestValidatorOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more