pub struct SpecifiedPrincipalBuilder { /* private fields */ }Expand description
Builder for SpecifiedPrincipal.
Implementations
sourceimpl 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
sourceimpl Clone for SpecifiedPrincipalBuilder
impl Clone for SpecifiedPrincipalBuilder
sourcefn clone(&self) -> SpecifiedPrincipalBuilder
fn clone(&self) -> SpecifiedPrincipalBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for SpecifiedPrincipalBuilder
impl Send for SpecifiedPrincipalBuilder
impl Sync for SpecifiedPrincipalBuilder
impl Unpin for SpecifiedPrincipalBuilder
impl UnwindSafe for SpecifiedPrincipalBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more