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