#[non_exhaustive]pub struct DeletionTaskFailureReasonTypeBuilder { /* private fields */ }Expand description
A builder for DeletionTaskFailureReasonType.
Implementations§
source§impl DeletionTaskFailureReasonTypeBuilder
impl DeletionTaskFailureReasonTypeBuilder
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
A short description of the reason that the service-linked role deletion failed.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A short description of the reason that the service-linked role deletion failed.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
A short description of the reason that the service-linked role deletion failed.
sourcepub fn role_usage_list(self, input: RoleUsageType) -> Self
pub fn role_usage_list(self, input: RoleUsageType) -> Self
Appends an item to role_usage_list.
To override the contents of this collection use set_role_usage_list.
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
sourcepub fn set_role_usage_list(self, input: Option<Vec<RoleUsageType>>) -> Self
pub fn set_role_usage_list(self, input: Option<Vec<RoleUsageType>>) -> Self
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
sourcepub fn get_role_usage_list(&self) -> &Option<Vec<RoleUsageType>>
pub fn get_role_usage_list(&self) -> &Option<Vec<RoleUsageType>>
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
sourcepub fn build(self) -> DeletionTaskFailureReasonType
pub fn build(self) -> DeletionTaskFailureReasonType
Consumes the builder and constructs a DeletionTaskFailureReasonType.
Trait Implementations§
source§impl Clone for DeletionTaskFailureReasonTypeBuilder
impl Clone for DeletionTaskFailureReasonTypeBuilder
source§fn clone(&self) -> DeletionTaskFailureReasonTypeBuilder
fn clone(&self) -> DeletionTaskFailureReasonTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeletionTaskFailureReasonTypeBuilder
impl Default for DeletionTaskFailureReasonTypeBuilder
source§fn default() -> DeletionTaskFailureReasonTypeBuilder
fn default() -> DeletionTaskFailureReasonTypeBuilder
source§impl PartialEq for DeletionTaskFailureReasonTypeBuilder
impl PartialEq for DeletionTaskFailureReasonTypeBuilder
source§fn eq(&self, other: &DeletionTaskFailureReasonTypeBuilder) -> bool
fn eq(&self, other: &DeletionTaskFailureReasonTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.