Struct aws_sdk_appsync::types::builders::BadRequestDetailBuilder
source · #[non_exhaustive]pub struct BadRequestDetailBuilder { /* private fields */ }
Expand description
A builder for BadRequestDetail
.
Implementations§
source§impl BadRequestDetailBuilder
impl BadRequestDetailBuilder
sourcepub fn code_errors(self, input: CodeError) -> Self
pub fn code_errors(self, input: CodeError) -> Self
Appends an item to code_errors
.
To override the contents of this collection use set_code_errors
.
Contains the list of errors in the request.
sourcepub fn set_code_errors(self, input: Option<Vec<CodeError>>) -> Self
pub fn set_code_errors(self, input: Option<Vec<CodeError>>) -> Self
Contains the list of errors in the request.
sourcepub fn get_code_errors(&self) -> &Option<Vec<CodeError>>
pub fn get_code_errors(&self) -> &Option<Vec<CodeError>>
Contains the list of errors in the request.
sourcepub fn build(self) -> BadRequestDetail
pub fn build(self) -> BadRequestDetail
Consumes the builder and constructs a BadRequestDetail
.
Trait Implementations§
source§impl Clone for BadRequestDetailBuilder
impl Clone for BadRequestDetailBuilder
source§fn clone(&self) -> BadRequestDetailBuilder
fn clone(&self) -> BadRequestDetailBuilder
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 BadRequestDetailBuilder
impl Debug for BadRequestDetailBuilder
source§impl Default for BadRequestDetailBuilder
impl Default for BadRequestDetailBuilder
source§fn default() -> BadRequestDetailBuilder
fn default() -> BadRequestDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BadRequestDetailBuilder
impl PartialEq for BadRequestDetailBuilder
impl StructuralPartialEq for BadRequestDetailBuilder
Auto Trait Implementations§
impl Freeze for BadRequestDetailBuilder
impl RefUnwindSafe for BadRequestDetailBuilder
impl Send for BadRequestDetailBuilder
impl Sync for BadRequestDetailBuilder
impl Unpin for BadRequestDetailBuilder
impl UnwindSafe for BadRequestDetailBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.