#[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 Amazon Web Services 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 Amazon Web Services account where you want to deploy your permission set.
sourcepub fn get_customer_managed_policy_reference(
&self,
) -> &Option<CustomerManagedPolicyReference>
pub fn get_customer_managed_policy_reference( &self, ) -> &Option<CustomerManagedPolicyReference>
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.
sourcepub fn get_managed_policy_arn(&self) -> &Option<String>
pub fn get_managed_policy_arn(&self) -> &Option<String>
The Amazon Web Services 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for PermissionsBoundaryBuilder
impl PartialEq for PermissionsBoundaryBuilder
source§fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
fn eq(&self, other: &PermissionsBoundaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PermissionsBoundaryBuilder
Auto Trait Implementations§
impl Freeze for PermissionsBoundaryBuilder
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
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