#[non_exhaustive]pub struct GroupMembershipExistenceResultBuilder { /* private fields */ }
Expand description
A builder for GroupMembershipExistenceResult
.
Implementations§
source§impl GroupMembershipExistenceResultBuilder
impl GroupMembershipExistenceResultBuilder
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.
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 membership_exists(self, input: bool) -> Self
pub fn membership_exists(self, input: bool) -> Self
Indicates whether a membership relation exists or not.
sourcepub fn set_membership_exists(self, input: Option<bool>) -> Self
pub fn set_membership_exists(self, input: Option<bool>) -> Self
Indicates whether a membership relation exists or not.
sourcepub fn get_membership_exists(&self) -> &Option<bool>
pub fn get_membership_exists(&self) -> &Option<bool>
Indicates whether a membership relation exists or not.
sourcepub fn build(self) -> GroupMembershipExistenceResult
pub fn build(self) -> GroupMembershipExistenceResult
Consumes the builder and constructs a GroupMembershipExistenceResult
.
Trait Implementations§
source§impl Clone for GroupMembershipExistenceResultBuilder
impl Clone for GroupMembershipExistenceResultBuilder
source§fn clone(&self) -> GroupMembershipExistenceResultBuilder
fn clone(&self) -> GroupMembershipExistenceResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GroupMembershipExistenceResultBuilder
impl Default for GroupMembershipExistenceResultBuilder
source§fn default() -> GroupMembershipExistenceResultBuilder
fn default() -> GroupMembershipExistenceResultBuilder
source§impl PartialEq for GroupMembershipExistenceResultBuilder
impl PartialEq for GroupMembershipExistenceResultBuilder
source§fn eq(&self, other: &GroupMembershipExistenceResultBuilder) -> bool
fn eq(&self, other: &GroupMembershipExistenceResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupMembershipExistenceResultBuilder
Auto Trait Implementations§
impl Freeze for GroupMembershipExistenceResultBuilder
impl RefUnwindSafe for GroupMembershipExistenceResultBuilder
impl Send for GroupMembershipExistenceResultBuilder
impl Sync for GroupMembershipExistenceResultBuilder
impl Unpin for GroupMembershipExistenceResultBuilder
impl UnwindSafe for GroupMembershipExistenceResultBuilder
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