#[non_exhaustive]pub struct AttachedManagedPolicyBuilder { /* private fields */ }
Expand description
A builder for AttachedManagedPolicy
.
Implementations§
source§impl AttachedManagedPolicyBuilder
impl AttachedManagedPolicyBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the AWS managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the AWS managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The ARN of the AWS managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
sourcepub fn build(self) -> AttachedManagedPolicy
pub fn build(self) -> AttachedManagedPolicy
Consumes the builder and constructs a AttachedManagedPolicy
.
Trait Implementations§
source§impl Clone for AttachedManagedPolicyBuilder
impl Clone for AttachedManagedPolicyBuilder
source§fn clone(&self) -> AttachedManagedPolicyBuilder
fn clone(&self) -> AttachedManagedPolicyBuilder
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 AttachedManagedPolicyBuilder
impl Debug for AttachedManagedPolicyBuilder
source§impl Default for AttachedManagedPolicyBuilder
impl Default for AttachedManagedPolicyBuilder
source§fn default() -> AttachedManagedPolicyBuilder
fn default() -> AttachedManagedPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AttachedManagedPolicyBuilder> for AttachedManagedPolicyBuilder
impl PartialEq<AttachedManagedPolicyBuilder> for AttachedManagedPolicyBuilder
source§fn eq(&self, other: &AttachedManagedPolicyBuilder) -> bool
fn eq(&self, other: &AttachedManagedPolicyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachedManagedPolicyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttachedManagedPolicyBuilder
impl Send for AttachedManagedPolicyBuilder
impl Sync for AttachedManagedPolicyBuilder
impl Unpin for AttachedManagedPolicyBuilder
impl UnwindSafe for AttachedManagedPolicyBuilder
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