#[non_exhaustive]pub struct DelegationMetadataBuilder { /* private fields */ }Expand description
A builder for DelegationMetadata.
Implementations§
source§impl DelegationMetadataBuilder
impl DelegationMetadataBuilder
sourcepub fn assessment_name(self, input: impl Into<String>) -> Self
pub fn assessment_name(self, input: impl Into<String>) -> Self
The name of the associated assessment.
sourcepub fn set_assessment_name(self, input: Option<String>) -> Self
pub fn set_assessment_name(self, input: Option<String>) -> Self
The name of the associated assessment.
sourcepub fn get_assessment_name(&self) -> &Option<String>
pub fn get_assessment_name(&self) -> &Option<String>
The name of the associated assessment.
sourcepub fn assessment_id(self, input: impl Into<String>) -> Self
pub fn assessment_id(self, input: impl Into<String>) -> Self
The unique identifier for the assessment.
sourcepub fn set_assessment_id(self, input: Option<String>) -> Self
pub fn set_assessment_id(self, input: Option<String>) -> Self
The unique identifier for the assessment.
sourcepub fn get_assessment_id(&self) -> &Option<String>
pub fn get_assessment_id(&self) -> &Option<String>
The unique identifier for the assessment.
sourcepub fn status(self, input: DelegationStatus) -> Self
pub fn status(self, input: DelegationStatus) -> Self
The current status of the delegation.
sourcepub fn set_status(self, input: Option<DelegationStatus>) -> Self
pub fn set_status(self, input: Option<DelegationStatus>) -> Self
The current status of the delegation.
sourcepub fn get_status(&self) -> &Option<DelegationStatus>
pub fn get_status(&self) -> &Option<DelegationStatus>
The current 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 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 control_set_name(self, input: impl Into<String>) -> Self
pub fn control_set_name(self, input: impl Into<String>) -> Self
Specifies the name of the control set that was delegated for review.
sourcepub fn set_control_set_name(self, input: Option<String>) -> Self
pub fn set_control_set_name(self, input: Option<String>) -> Self
Specifies the name of the control set that was delegated for review.
sourcepub fn get_control_set_name(&self) -> &Option<String>
pub fn get_control_set_name(&self) -> &Option<String>
Specifies the name of the control set that was delegated for review.
sourcepub fn build(self) -> DelegationMetadata
pub fn build(self) -> DelegationMetadata
Consumes the builder and constructs a DelegationMetadata.
Trait Implementations§
source§impl Clone for DelegationMetadataBuilder
impl Clone for DelegationMetadataBuilder
source§fn clone(&self) -> DelegationMetadataBuilder
fn clone(&self) -> DelegationMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DelegationMetadataBuilder
impl Debug for DelegationMetadataBuilder
source§impl Default for DelegationMetadataBuilder
impl Default for DelegationMetadataBuilder
source§fn default() -> DelegationMetadataBuilder
fn default() -> DelegationMetadataBuilder
source§impl PartialEq for DelegationMetadataBuilder
impl PartialEq for DelegationMetadataBuilder
source§fn eq(&self, other: &DelegationMetadataBuilder) -> bool
fn eq(&self, other: &DelegationMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.