#[non_exhaustive]pub struct AwsIamAttachedManagedPolicyBuilder { /* private fields */ }Expand description
A builder for AwsIamAttachedManagedPolicy.
Implementations§
source§impl AwsIamAttachedManagedPolicyBuilder
impl AwsIamAttachedManagedPolicyBuilder
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the policy.
sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the policy.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
The name of the policy.
sourcepub fn policy_arn(self, input: impl Into<String>) -> Self
pub fn policy_arn(self, input: impl Into<String>) -> Self
The ARN of the policy.
sourcepub fn set_policy_arn(self, input: Option<String>) -> Self
pub fn set_policy_arn(self, input: Option<String>) -> Self
The ARN of the policy.
sourcepub fn get_policy_arn(&self) -> &Option<String>
pub fn get_policy_arn(&self) -> &Option<String>
The ARN of the policy.
sourcepub fn build(self) -> AwsIamAttachedManagedPolicy
pub fn build(self) -> AwsIamAttachedManagedPolicy
Consumes the builder and constructs a AwsIamAttachedManagedPolicy.
Trait Implementations§
source§impl Clone for AwsIamAttachedManagedPolicyBuilder
impl Clone for AwsIamAttachedManagedPolicyBuilder
source§fn clone(&self) -> AwsIamAttachedManagedPolicyBuilder
fn clone(&self) -> AwsIamAttachedManagedPolicyBuilder
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 Default for AwsIamAttachedManagedPolicyBuilder
impl Default for AwsIamAttachedManagedPolicyBuilder
source§fn default() -> AwsIamAttachedManagedPolicyBuilder
fn default() -> AwsIamAttachedManagedPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsIamAttachedManagedPolicyBuilder
impl PartialEq for AwsIamAttachedManagedPolicyBuilder
source§fn eq(&self, other: &AwsIamAttachedManagedPolicyBuilder) -> bool
fn eq(&self, other: &AwsIamAttachedManagedPolicyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsIamAttachedManagedPolicyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsIamAttachedManagedPolicyBuilder
impl Send for AwsIamAttachedManagedPolicyBuilder
impl Sync for AwsIamAttachedManagedPolicyBuilder
impl Unpin for AwsIamAttachedManagedPolicyBuilder
impl UnwindSafe for AwsIamAttachedManagedPolicyBuilder
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
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>
Creates a shared type from an unshared type.