Struct aws_sdk_auditmanager::types::builders::RoleBuilder
source · #[non_exhaustive]pub struct RoleBuilder { /* private fields */ }Expand description
A builder for Role.
Implementations§
source§impl RoleBuilder
impl RoleBuilder
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 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.
This field is required.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.
Trait Implementations§
source§impl Clone for RoleBuilder
impl Clone for RoleBuilder
source§fn clone(&self) -> RoleBuilder
fn clone(&self) -> RoleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RoleBuilder
impl Debug for RoleBuilder
source§impl Default for RoleBuilder
impl Default for RoleBuilder
source§fn default() -> RoleBuilder
fn default() -> RoleBuilder
source§impl PartialEq for RoleBuilder
impl PartialEq for RoleBuilder
source§fn eq(&self, other: &RoleBuilder) -> bool
fn eq(&self, other: &RoleBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RoleBuilder
Auto Trait Implementations§
impl Freeze for RoleBuilder
impl RefUnwindSafe for RoleBuilder
impl Send for RoleBuilder
impl Sync for RoleBuilder
impl Unpin for RoleBuilder
impl UnwindSafe for RoleBuilder
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