#[non_exhaustive]pub struct AttachedPermissionsBoundaryBuilder { /* private fields */ }Expand description
A builder for AttachedPermissionsBoundary.
Implementations§
source§impl AttachedPermissionsBoundaryBuilder
impl AttachedPermissionsBoundaryBuilder
sourcepub fn permissions_boundary_type(
self,
input: PermissionsBoundaryAttachmentType
) -> Self
pub fn permissions_boundary_type( self, input: PermissionsBoundaryAttachmentType ) -> Self
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy.
sourcepub fn set_permissions_boundary_type(
self,
input: Option<PermissionsBoundaryAttachmentType>
) -> Self
pub fn set_permissions_boundary_type( self, input: Option<PermissionsBoundaryAttachmentType> ) -> Self
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy.
sourcepub fn get_permissions_boundary_type(
&self
) -> &Option<PermissionsBoundaryAttachmentType>
pub fn get_permissions_boundary_type( &self ) -> &Option<PermissionsBoundaryAttachmentType>
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy.
sourcepub fn permissions_boundary_arn(self, input: impl Into<String>) -> Self
pub fn permissions_boundary_arn(self, input: impl Into<String>) -> Self
The ARN of the policy used to set the permissions boundary for the user or role.
sourcepub fn set_permissions_boundary_arn(self, input: Option<String>) -> Self
pub fn set_permissions_boundary_arn(self, input: Option<String>) -> Self
The ARN of the policy used to set the permissions boundary for the user or role.
sourcepub fn get_permissions_boundary_arn(&self) -> &Option<String>
pub fn get_permissions_boundary_arn(&self) -> &Option<String>
The ARN of the policy used to set the permissions boundary for the user or role.
sourcepub fn build(self) -> AttachedPermissionsBoundary
pub fn build(self) -> AttachedPermissionsBoundary
Consumes the builder and constructs a AttachedPermissionsBoundary.
Trait Implementations§
source§impl Clone for AttachedPermissionsBoundaryBuilder
impl Clone for AttachedPermissionsBoundaryBuilder
source§fn clone(&self) -> AttachedPermissionsBoundaryBuilder
fn clone(&self) -> AttachedPermissionsBoundaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AttachedPermissionsBoundaryBuilder
impl Default for AttachedPermissionsBoundaryBuilder
source§fn default() -> AttachedPermissionsBoundaryBuilder
fn default() -> AttachedPermissionsBoundaryBuilder
source§impl PartialEq for AttachedPermissionsBoundaryBuilder
impl PartialEq for AttachedPermissionsBoundaryBuilder
source§fn eq(&self, other: &AttachedPermissionsBoundaryBuilder) -> bool
fn eq(&self, other: &AttachedPermissionsBoundaryBuilder) -> bool
self and other values to be equal, and is used
by ==.