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 ==
.