Struct aws_sdk_apigateway::operation::update_request_validator::builders::UpdateRequestValidatorOutputBuilder
source · #[non_exhaustive]pub struct UpdateRequestValidatorOutputBuilder { /* private fields */ }Expand description
A builder for UpdateRequestValidatorOutput.
Implementations§
source§impl UpdateRequestValidatorOutputBuilder
impl UpdateRequestValidatorOutputBuilder
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) -> UpdateRequestValidatorOutput
pub fn build(self) -> UpdateRequestValidatorOutput
Consumes the builder and constructs a UpdateRequestValidatorOutput.
Trait Implementations§
source§impl Clone for UpdateRequestValidatorOutputBuilder
impl Clone for UpdateRequestValidatorOutputBuilder
source§fn clone(&self) -> UpdateRequestValidatorOutputBuilder
fn clone(&self) -> UpdateRequestValidatorOutputBuilder
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 UpdateRequestValidatorOutputBuilder
impl Default for UpdateRequestValidatorOutputBuilder
source§fn default() -> UpdateRequestValidatorOutputBuilder
fn default() -> UpdateRequestValidatorOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRequestValidatorOutputBuilder
impl PartialEq for UpdateRequestValidatorOutputBuilder
source§fn eq(&self, other: &UpdateRequestValidatorOutputBuilder) -> bool
fn eq(&self, other: &UpdateRequestValidatorOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRequestValidatorOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRequestValidatorOutputBuilder
impl RefUnwindSafe for UpdateRequestValidatorOutputBuilder
impl Send for UpdateRequestValidatorOutputBuilder
impl Sync for UpdateRequestValidatorOutputBuilder
impl Unpin for UpdateRequestValidatorOutputBuilder
impl UnwindSafe for UpdateRequestValidatorOutputBuilder
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.