Struct aws_sdk_auditmanager::operation::batch_create_delegation_by_assessment::builders::BatchCreateDelegationByAssessmentOutputBuilder
source · #[non_exhaustive]pub struct BatchCreateDelegationByAssessmentOutputBuilder { /* private fields */ }
Expand description
A builder for BatchCreateDelegationByAssessmentOutput
.
Implementations§
source§impl BatchCreateDelegationByAssessmentOutputBuilder
impl BatchCreateDelegationByAssessmentOutputBuilder
sourcepub fn delegations(self, input: Delegation) -> Self
pub fn delegations(self, input: Delegation) -> Self
Appends an item to delegations
.
To override the contents of this collection use set_delegations
.
The delegations that are associated with the assessment.
sourcepub fn set_delegations(self, input: Option<Vec<Delegation>>) -> Self
pub fn set_delegations(self, input: Option<Vec<Delegation>>) -> Self
The delegations that are associated with the assessment.
sourcepub fn get_delegations(&self) -> &Option<Vec<Delegation>>
pub fn get_delegations(&self) -> &Option<Vec<Delegation>>
The delegations that are associated with the assessment.
sourcepub fn errors(self, input: BatchCreateDelegationByAssessmentError) -> Self
pub fn errors(self, input: BatchCreateDelegationByAssessmentError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
A list of errors that the BatchCreateDelegationByAssessment
API returned.
sourcepub fn set_errors(
self,
input: Option<Vec<BatchCreateDelegationByAssessmentError>>
) -> Self
pub fn set_errors( self, input: Option<Vec<BatchCreateDelegationByAssessmentError>> ) -> Self
A list of errors that the BatchCreateDelegationByAssessment
API returned.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchCreateDelegationByAssessmentError>>
pub fn get_errors(&self) -> &Option<Vec<BatchCreateDelegationByAssessmentError>>
A list of errors that the BatchCreateDelegationByAssessment
API returned.
sourcepub fn build(self) -> BatchCreateDelegationByAssessmentOutput
pub fn build(self) -> BatchCreateDelegationByAssessmentOutput
Consumes the builder and constructs a BatchCreateDelegationByAssessmentOutput
.
Trait Implementations§
source§impl Clone for BatchCreateDelegationByAssessmentOutputBuilder
impl Clone for BatchCreateDelegationByAssessmentOutputBuilder
source§fn clone(&self) -> BatchCreateDelegationByAssessmentOutputBuilder
fn clone(&self) -> BatchCreateDelegationByAssessmentOutputBuilder
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 BatchCreateDelegationByAssessmentOutputBuilder
impl Default for BatchCreateDelegationByAssessmentOutputBuilder
source§fn default() -> BatchCreateDelegationByAssessmentOutputBuilder
fn default() -> BatchCreateDelegationByAssessmentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchCreateDelegationByAssessmentOutputBuilder
impl PartialEq for BatchCreateDelegationByAssessmentOutputBuilder
source§fn eq(&self, other: &BatchCreateDelegationByAssessmentOutputBuilder) -> bool
fn eq(&self, other: &BatchCreateDelegationByAssessmentOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateDelegationByAssessmentOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchCreateDelegationByAssessmentOutputBuilder
impl RefUnwindSafe for BatchCreateDelegationByAssessmentOutputBuilder
impl Send for BatchCreateDelegationByAssessmentOutputBuilder
impl Sync for BatchCreateDelegationByAssessmentOutputBuilder
impl Unpin for BatchCreateDelegationByAssessmentOutputBuilder
impl UnwindSafe for BatchCreateDelegationByAssessmentOutputBuilder
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.