Struct aws_sdk_apigateway::operation::get_request_validator::builders::GetRequestValidatorOutputBuilder
source · #[non_exhaustive]pub struct GetRequestValidatorOutputBuilder { /* private fields */ }Expand description
A builder for GetRequestValidatorOutput.
Implementations§
source§impl GetRequestValidatorOutputBuilder
impl GetRequestValidatorOutputBuilder
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) -> GetRequestValidatorOutput
pub fn build(self) -> GetRequestValidatorOutput
Consumes the builder and constructs a GetRequestValidatorOutput.
Trait Implementations§
source§impl Clone for GetRequestValidatorOutputBuilder
impl Clone for GetRequestValidatorOutputBuilder
source§fn clone(&self) -> GetRequestValidatorOutputBuilder
fn clone(&self) -> GetRequestValidatorOutputBuilder
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 GetRequestValidatorOutputBuilder
impl Default for GetRequestValidatorOutputBuilder
source§fn default() -> GetRequestValidatorOutputBuilder
fn default() -> GetRequestValidatorOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetRequestValidatorOutputBuilder
impl PartialEq for GetRequestValidatorOutputBuilder
source§fn eq(&self, other: &GetRequestValidatorOutputBuilder) -> bool
fn eq(&self, other: &GetRequestValidatorOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetRequestValidatorOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRequestValidatorOutputBuilder
impl RefUnwindSafe for GetRequestValidatorOutputBuilder
impl Send for GetRequestValidatorOutputBuilder
impl Sync for GetRequestValidatorOutputBuilder
impl Unpin for GetRequestValidatorOutputBuilder
impl UnwindSafe for GetRequestValidatorOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.