Struct aws_sdk_auditmanager::operation::batch_create_delegation_by_assessment::builders::BatchCreateDelegationByAssessmentFluentBuilder
source · pub struct BatchCreateDelegationByAssessmentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchCreateDelegationByAssessment
.
Creates a batch of delegations for an assessment in Audit Manager.
Implementations§
source§impl BatchCreateDelegationByAssessmentFluentBuilder
impl BatchCreateDelegationByAssessmentFluentBuilder
sourcepub fn as_input(&self) -> &BatchCreateDelegationByAssessmentInputBuilder
pub fn as_input(&self) -> &BatchCreateDelegationByAssessmentInputBuilder
Access the BatchCreateDelegationByAssessment as a reference.
sourcepub async fn send(
self
) -> Result<BatchCreateDelegationByAssessmentOutput, SdkError<BatchCreateDelegationByAssessmentError, HttpResponse>>
pub async fn send( self ) -> Result<BatchCreateDelegationByAssessmentOutput, SdkError<BatchCreateDelegationByAssessmentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchCreateDelegationByAssessmentOutput, BatchCreateDelegationByAssessmentError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchCreateDelegationByAssessmentOutput, BatchCreateDelegationByAssessmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn create_delegation_requests(self, input: CreateDelegationRequest) -> Self
pub fn create_delegation_requests(self, input: CreateDelegationRequest) -> Self
Appends an item to createDelegationRequests
.
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.
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.
Trait Implementations§
source§impl Clone for BatchCreateDelegationByAssessmentFluentBuilder
impl Clone for BatchCreateDelegationByAssessmentFluentBuilder
source§fn clone(&self) -> BatchCreateDelegationByAssessmentFluentBuilder
fn clone(&self) -> BatchCreateDelegationByAssessmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for BatchCreateDelegationByAssessmentFluentBuilder
impl !RefUnwindSafe for BatchCreateDelegationByAssessmentFluentBuilder
impl Send for BatchCreateDelegationByAssessmentFluentBuilder
impl Sync for BatchCreateDelegationByAssessmentFluentBuilder
impl Unpin for BatchCreateDelegationByAssessmentFluentBuilder
impl !UnwindSafe for BatchCreateDelegationByAssessmentFluentBuilder
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
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>
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>
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 more