#[non_exhaustive]pub struct PermissionsBoundaryBuilder { /* private fields */ }Expand description
A builder for PermissionsBoundary.
Implementations§
source§impl PermissionsBoundaryBuilder
impl PermissionsBoundaryBuilder
sourcepub fn customer_managed_policy_reference(
self,
input: CustomerManagedPolicyReference
) -> Self
pub fn customer_managed_policy_reference( self, input: CustomerManagedPolicyReference ) -> Self
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
sourcepub fn set_customer_managed_policy_reference(
self,
input: Option<CustomerManagedPolicyReference>
) -> Self
pub fn set_customer_managed_policy_reference( self, input: Option<CustomerManagedPolicyReference> ) -> Self
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.
sourcepub fn managed_policy_arn(self, input: impl Into<String>) -> Self
pub fn managed_policy_arn(self, input: impl Into<String>) -> Self
The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn set_managed_policy_arn(self, input: Option<String>) -> Self
pub fn set_managed_policy_arn(self, input: Option<String>) -> Self
The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn build(self) -> PermissionsBoundary
pub fn build(self) -> PermissionsBoundary
Consumes the builder and constructs a PermissionsBoundary.
Trait Implementations§
source§impl Clone for PermissionsBoundaryBuilder
impl Clone for PermissionsBoundaryBuilder
source§fn clone(&self) -> PermissionsBoundaryBuilder
fn clone(&self) -> PermissionsBoundaryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PermissionsBoundaryBuilder
impl Debug for PermissionsBoundaryBuilder
source§impl Default for PermissionsBoundaryBuilder
impl Default for PermissionsBoundaryBuilder
source§fn default() -> PermissionsBoundaryBuilder
fn default() -> PermissionsBoundaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PermissionsBoundaryBuilder> for PermissionsBoundaryBuilder
impl PartialEq<PermissionsBoundaryBuilder> for PermissionsBoundaryBuilder
source§fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PermissionsBoundaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PermissionsBoundaryBuilder
impl Send for PermissionsBoundaryBuilder
impl Sync for PermissionsBoundaryBuilder
impl Unpin for PermissionsBoundaryBuilder
impl UnwindSafe for PermissionsBoundaryBuilder
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
Mutably borrows from an owned value. Read more