#[non_exhaustive]pub struct CreateDelegationRequestBuilder { /* private fields */ }
Expand description
A builder for CreateDelegationRequest
.
Implementations§
source§impl CreateDelegationRequestBuilder
impl CreateDelegationRequestBuilder
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment that's related to the delegation request.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment that's related to the delegation request.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
A comment that's related to the delegation request.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The unique identifier for the control set.
sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The unique identifier for the control set.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The unique identifier for the control set.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role.
sourcepub fn role_type(self, input: RoleType) -> Self
pub fn role_type(self, input: RoleType) -> Self
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
sourcepub fn set_role_type(self, input: Option<RoleType>) -> Self
pub fn set_role_type(self, input: Option<RoleType>) -> Self
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
sourcepub fn get_role_type(&self) -> &Option<RoleType>
pub fn get_role_type(&self) -> &Option<RoleType>
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
sourcepub fn build(self) -> CreateDelegationRequest
pub fn build(self) -> CreateDelegationRequest
Consumes the builder and constructs a CreateDelegationRequest
.
Trait Implementations§
source§impl Clone for CreateDelegationRequestBuilder
impl Clone for CreateDelegationRequestBuilder
source§fn clone(&self) -> CreateDelegationRequestBuilder
fn clone(&self) -> CreateDelegationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDelegationRequestBuilder
impl Default for CreateDelegationRequestBuilder
source§fn default() -> CreateDelegationRequestBuilder
fn default() -> CreateDelegationRequestBuilder
source§impl PartialEq for CreateDelegationRequestBuilder
impl PartialEq for CreateDelegationRequestBuilder
source§fn eq(&self, other: &CreateDelegationRequestBuilder) -> bool
fn eq(&self, other: &CreateDelegationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDelegationRequestBuilder
Auto Trait Implementations§
impl Freeze for CreateDelegationRequestBuilder
impl RefUnwindSafe for CreateDelegationRequestBuilder
impl Send for CreateDelegationRequestBuilder
impl Sync for CreateDelegationRequestBuilder
impl Unpin for CreateDelegationRequestBuilder
impl UnwindSafe for CreateDelegationRequestBuilder
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