#[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 ==.impl StructuralPartialEq for AttachedPermissionsBoundaryBuilder
Auto Trait Implementations§
impl Freeze for AttachedPermissionsBoundaryBuilder
impl RefUnwindSafe for AttachedPermissionsBoundaryBuilder
impl Send for AttachedPermissionsBoundaryBuilder
impl Sync for AttachedPermissionsBoundaryBuilder
impl Unpin for AttachedPermissionsBoundaryBuilder
impl UnwindSafe for AttachedPermissionsBoundaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more