pub struct RolePolicyAttachmentBuilder { /* private fields */ }
Expand description
Builder for RolePolicyAttachment
.
Implementations§
Source§impl RolePolicyAttachmentBuilder
impl RolePolicyAttachmentBuilder
pub fn role_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<RolePolicyAttachment, RolePolicyAttachmentBuilderError>
pub fn build( &self, ) -> Result<RolePolicyAttachment, RolePolicyAttachmentBuilderError>
Trait Implementations§
Source§impl Clone for RolePolicyAttachmentBuilder
impl Clone for RolePolicyAttachmentBuilder
Source§fn clone(&self) -> RolePolicyAttachmentBuilder
fn clone(&self) -> RolePolicyAttachmentBuilder
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 moreAuto Trait Implementations§
impl Freeze for RolePolicyAttachmentBuilder
impl RefUnwindSafe for RolePolicyAttachmentBuilder
impl Send for RolePolicyAttachmentBuilder
impl Sync for RolePolicyAttachmentBuilder
impl Unpin for RolePolicyAttachmentBuilder
impl UnwindSafe for RolePolicyAttachmentBuilder
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