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