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 more