pub struct UserPolicyAttachmentBuilder { /* private fields */ }
Expand description
Builder for UserPolicyAttachment
.
Implementations§
Source§impl UserPolicyAttachmentBuilder
impl UserPolicyAttachmentBuilder
pub fn user_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn policy_arn<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn namespace<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<UserPolicyAttachment, UserPolicyAttachmentBuilderError>
pub fn build( &self, ) -> Result<UserPolicyAttachment, UserPolicyAttachmentBuilderError>
Trait Implementations§
Source§impl Clone for UserPolicyAttachmentBuilder
impl Clone for UserPolicyAttachmentBuilder
Source§fn clone(&self) -> UserPolicyAttachmentBuilder
fn clone(&self) -> UserPolicyAttachmentBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UserPolicyAttachmentBuilder
impl RefUnwindSafe for UserPolicyAttachmentBuilder
impl Send for UserPolicyAttachmentBuilder
impl Sync for UserPolicyAttachmentBuilder
impl Unpin for UserPolicyAttachmentBuilder
impl UnwindSafe for UserPolicyAttachmentBuilder
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