Struct aws_sdk_identitystore::operation::create_group_membership::builders::CreateGroupMembershipInputBuilder
source · #[non_exhaustive]pub struct CreateGroupMembershipInputBuilder { /* private fields */ }
Expand description
A builder for CreateGroupMembershipInput
.
Implementations§
source§impl CreateGroupMembershipInputBuilder
impl CreateGroupMembershipInputBuilder
sourcepub fn identity_store_id(self, input: impl Into<String>) -> Self
pub fn identity_store_id(self, input: impl Into<String>) -> Self
The globally unique identifier for the identity store.
This field is required.sourcepub fn set_identity_store_id(self, input: Option<String>) -> Self
pub fn set_identity_store_id(self, input: Option<String>) -> Self
The globally unique identifier for the identity store.
sourcepub fn get_identity_store_id(&self) -> &Option<String>
pub fn get_identity_store_id(&self) -> &Option<String>
The globally unique identifier for the identity store.
sourcepub fn group_id(self, input: impl Into<String>) -> Self
pub fn group_id(self, input: impl Into<String>) -> Self
The identifier for a group in the identity store.
This field is required.sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The identifier for a group in the identity store.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The identifier for a group in the identity store.
sourcepub fn member_id(self, input: MemberId) -> Self
pub fn member_id(self, input: MemberId) -> Self
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn set_member_id(self, input: Option<MemberId>) -> Self
pub fn set_member_id(self, input: Option<MemberId>) -> Self
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn get_member_id(&self) -> &Option<MemberId>
pub fn get_member_id(&self) -> &Option<MemberId>
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn build(self) -> Result<CreateGroupMembershipInput, BuildError>
pub fn build(self) -> Result<CreateGroupMembershipInput, BuildError>
Consumes the builder and constructs a CreateGroupMembershipInput
.
source§impl CreateGroupMembershipInputBuilder
impl CreateGroupMembershipInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateGroupMembershipOutput, SdkError<CreateGroupMembershipError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateGroupMembershipOutput, SdkError<CreateGroupMembershipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateGroupMembershipInputBuilder
impl Clone for CreateGroupMembershipInputBuilder
source§fn clone(&self) -> CreateGroupMembershipInputBuilder
fn clone(&self) -> CreateGroupMembershipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateGroupMembershipInputBuilder
impl Default for CreateGroupMembershipInputBuilder
source§fn default() -> CreateGroupMembershipInputBuilder
fn default() -> CreateGroupMembershipInputBuilder
source§impl PartialEq for CreateGroupMembershipInputBuilder
impl PartialEq for CreateGroupMembershipInputBuilder
source§fn eq(&self, other: &CreateGroupMembershipInputBuilder) -> bool
fn eq(&self, other: &CreateGroupMembershipInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateGroupMembershipInputBuilder
Auto Trait Implementations§
impl Freeze for CreateGroupMembershipInputBuilder
impl RefUnwindSafe for CreateGroupMembershipInputBuilder
impl Send for CreateGroupMembershipInputBuilder
impl Sync for CreateGroupMembershipInputBuilder
impl Unpin for CreateGroupMembershipInputBuilder
impl UnwindSafe for CreateGroupMembershipInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more