pub struct SpecifiedPrincipalBuilder { /* private fields */ }
Expand description
Builder for SpecifiedPrincipal
.
Implementations§
Source§impl SpecifiedPrincipalBuilder
impl SpecifiedPrincipalBuilder
Sourcepub fn aws<VALUE: Into<StringLikeList<AwsPrincipal>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn aws<VALUE: Into<StringLikeList<AwsPrincipal>>>( &mut self, value: VALUE, ) -> &mut Self
AWS principals specified in the statement.
Sourcepub fn canonical_user<VALUE: Into<StringLikeList<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn canonical_user<VALUE: Into<StringLikeList<String>>>( &mut self, value: VALUE, ) -> &mut Self
Canonical users specified in the statement.
Sourcepub fn federated<VALUE: Into<StringLikeList<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn federated<VALUE: Into<StringLikeList<String>>>( &mut self, value: VALUE, ) -> &mut Self
Federated users specified in the statement.
Sourcepub fn service<VALUE: Into<StringLikeList<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn service<VALUE: Into<StringLikeList<String>>>( &mut self, value: VALUE, ) -> &mut Self
Services specified in the statement.
Sourcepub fn build(
&self,
) -> Result<SpecifiedPrincipal, SpecifiedPrincipalBuilderError>
pub fn build( &self, ) -> Result<SpecifiedPrincipal, SpecifiedPrincipalBuilderError>
Trait Implementations§
Source§impl Clone for SpecifiedPrincipalBuilder
impl Clone for SpecifiedPrincipalBuilder
Source§fn clone(&self) -> SpecifiedPrincipalBuilder
fn clone(&self) -> SpecifiedPrincipalBuilder
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 SpecifiedPrincipalBuilder
impl RefUnwindSafe for SpecifiedPrincipalBuilder
impl Send for SpecifiedPrincipalBuilder
impl Sync for SpecifiedPrincipalBuilder
impl Unpin for SpecifiedPrincipalBuilder
impl UnwindSafe for SpecifiedPrincipalBuilder
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