Struct aws_sdk_auditmanager::types::builders::DelegationBuilder
source · #[non_exhaustive]pub struct DelegationBuilder { /* private fields */ }Expand description
A builder for Delegation.
Implementations§
source§impl DelegationBuilder
impl DelegationBuilder
sourcepub fn assessment_name(self, input: impl Into<String>) -> Self
pub fn assessment_name(self, input: impl Into<String>) -> Self
The name of the assessment that's associated with the delegation.
sourcepub fn set_assessment_name(self, input: Option<String>) -> Self
pub fn set_assessment_name(self, input: Option<String>) -> Self
The name of the assessment that's associated with the delegation.
sourcepub fn get_assessment_name(&self) -> &Option<String>
pub fn get_assessment_name(&self) -> &Option<String>
The name of the assessment that's associated with the delegation.
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 that's associated with the delegation.
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 that's associated with the delegation.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The identifier for the assessment that's associated with the delegation.
sourcepub fn status(self, input: DelegationStatus) -> Self
pub fn status(self, input: DelegationStatus) -> Self
The status of the delegation.
sourcepub fn set_status(self, input: Option<DelegationStatus>) -> Self
pub fn set_status(self, input: Option<DelegationStatus>) -> Self
The status of the delegation.
sourcepub fn get_status(&self) -> &Option<DelegationStatus>
pub fn get_status(&self) -> &Option<DelegationStatus>
The status of the delegation.
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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
Specifies when the delegation was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
Specifies when the delegation was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
Specifies when the delegation was created.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
Specifies when the delegation was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
Specifies when the delegation was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
Specifies when the delegation was last updated.
sourcepub fn control_set_id(self, input: impl Into<String>) -> Self
pub fn control_set_id(self, input: impl Into<String>) -> Self
The identifier for the control set that's associated with the delegation.
sourcepub fn set_control_set_id(self, input: Option<String>) -> Self
pub fn set_control_set_id(self, input: Option<String>) -> Self
The identifier for the control set that's associated with the delegation.
sourcepub fn get_control_set_id(&self) -> &Option<String>
pub fn get_control_set_id(&self) -> &Option<String>
The identifier for the control set that's associated with the delegation.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
The comment that's related to the delegation.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
The comment that's related to the delegation.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
The comment that's related to the delegation.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user or role that created the delegation.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user or role that created the delegation.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user or role that created the delegation.
sourcepub fn build(self) -> Delegation
pub fn build(self) -> Delegation
Consumes the builder and constructs a Delegation.
Trait Implementations§
source§impl Clone for DelegationBuilder
impl Clone for DelegationBuilder
source§fn clone(&self) -> DelegationBuilder
fn clone(&self) -> DelegationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DelegationBuilder
impl Debug for DelegationBuilder
source§impl Default for DelegationBuilder
impl Default for DelegationBuilder
source§fn default() -> DelegationBuilder
fn default() -> DelegationBuilder
source§impl PartialEq for DelegationBuilder
impl PartialEq for DelegationBuilder
source§fn eq(&self, other: &DelegationBuilder) -> bool
fn eq(&self, other: &DelegationBuilder) -> bool
self and other values to be equal, and is used
by ==.