pub struct CreateGroupRequestBuilder { /* private fields */ }
Expand description
Builder for CreateGroupRequest
.
Implementations§
Source§impl CreateGroupRequestBuilder
impl CreateGroupRequestBuilder
Sourcepub fn group_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn group_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Type of the group, internal or external. Defaults to internal.
Sourcepub fn metadata<VALUE: Into<HashMap<String, String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn metadata<VALUE: Into<HashMap<String, String>>>( &mut self, value: VALUE, ) -> &mut Self
Metadata to be associated with the entity.
Sourcepub fn policies<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn policies<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Policies to be tied to the group.
Sourcepub fn member_group_ids<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn member_group_ids<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Group IDs to be assigned as group members.
Sourcepub fn member_entity_ids<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn member_entity_ids<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Entity IDs to be assigned as group members.
Sourcepub fn build(
&self,
) -> Result<CreateGroupRequest, CreateGroupRequestBuilderError>
pub fn build( &self, ) -> Result<CreateGroupRequest, CreateGroupRequestBuilderError>
Trait Implementations§
Source§impl Clone for CreateGroupRequestBuilder
impl Clone for CreateGroupRequestBuilder
Source§fn clone(&self) -> CreateGroupRequestBuilder
fn clone(&self) -> CreateGroupRequestBuilder
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 CreateGroupRequestBuilder
impl RefUnwindSafe for CreateGroupRequestBuilder
impl Send for CreateGroupRequestBuilder
impl Sync for CreateGroupRequestBuilder
impl Unpin for CreateGroupRequestBuilder
impl UnwindSafe for CreateGroupRequestBuilder
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