Struct aws_sdk_auditmanager::operation::batch_create_delegation_by_assessment::builders::BatchCreateDelegationByAssessmentInputBuilder
source · #[non_exhaustive]pub struct BatchCreateDelegationByAssessmentInputBuilder { /* private fields */ }
Expand description
A builder for BatchCreateDelegationByAssessmentInput
.
Implementations§
source§impl BatchCreateDelegationByAssessmentInputBuilder
impl BatchCreateDelegationByAssessmentInputBuilder
sourcepub fn create_delegation_requests(self, input: CreateDelegationRequest) -> Self
pub fn create_delegation_requests(self, input: CreateDelegationRequest) -> Self
Appends an item to create_delegation_requests
.
To override the contents of this collection use set_create_delegation_requests
.
The API request to batch create delegations in Audit Manager.
sourcepub fn set_create_delegation_requests(
self,
input: Option<Vec<CreateDelegationRequest>>
) -> Self
pub fn set_create_delegation_requests( self, input: Option<Vec<CreateDelegationRequest>> ) -> Self
The API request to batch create delegations in Audit Manager.
sourcepub fn get_create_delegation_requests(
&self
) -> &Option<Vec<CreateDelegationRequest>>
pub fn get_create_delegation_requests( &self ) -> &Option<Vec<CreateDelegationRequest>>
The API request to batch create delegations in Audit Manager.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The identifier for the assessment.
This field is required.sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The identifier for the assessment.
sourcepub fn build(self) -> Result<BatchCreateDelegationByAssessmentInput, BuildError>
pub fn build(self) -> Result<BatchCreateDelegationByAssessmentInput, BuildError>
Consumes the builder and constructs a BatchCreateDelegationByAssessmentInput
.
source§impl BatchCreateDelegationByAssessmentInputBuilder
impl BatchCreateDelegationByAssessmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchCreateDelegationByAssessmentOutput, SdkError<BatchCreateDelegationByAssessmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchCreateDelegationByAssessmentOutput, SdkError<BatchCreateDelegationByAssessmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchCreateDelegationByAssessmentInputBuilder
impl Clone for BatchCreateDelegationByAssessmentInputBuilder
source§fn clone(&self) -> BatchCreateDelegationByAssessmentInputBuilder
fn clone(&self) -> BatchCreateDelegationByAssessmentInputBuilder
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 BatchCreateDelegationByAssessmentInputBuilder
impl Default for BatchCreateDelegationByAssessmentInputBuilder
source§fn default() -> BatchCreateDelegationByAssessmentInputBuilder
fn default() -> BatchCreateDelegationByAssessmentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchCreateDelegationByAssessmentInputBuilder
impl PartialEq for BatchCreateDelegationByAssessmentInputBuilder
source§fn eq(&self, other: &BatchCreateDelegationByAssessmentInputBuilder) -> bool
fn eq(&self, other: &BatchCreateDelegationByAssessmentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateDelegationByAssessmentInputBuilder
Auto Trait Implementations§
impl Freeze for BatchCreateDelegationByAssessmentInputBuilder
impl RefUnwindSafe for BatchCreateDelegationByAssessmentInputBuilder
impl Send for BatchCreateDelegationByAssessmentInputBuilder
impl Sync for BatchCreateDelegationByAssessmentInputBuilder
impl Unpin for BatchCreateDelegationByAssessmentInputBuilder
impl UnwindSafe for BatchCreateDelegationByAssessmentInputBuilder
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.