Class GroupMembership
- java.lang.Object
-
- software.amazon.awssdk.services.identitystore.model.GroupMembership
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GroupMembership.Builder,GroupMembership>
@Generated("software.amazon.awssdk:codegen") public final class GroupMembership extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupMembership.Builder,GroupMembership>
Contains the identifiers for a group, a group member, and a
GroupMembershipobject in the identity store.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGroupMembership.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupMembership.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupId()The identifier for a group in the identity store.inthashCode()StringidentityStoreId()The globally unique identifier for the identity store.MemberIdmemberId()An object that contains the identifier of a group member.StringmembershipId()The identifier for aGroupMembershipobject in an identity store.List<SdkField<?>>sdkFields()static Class<? extends GroupMembership.Builder>serializableBuilderClass()GroupMembership.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
identityStoreId
public final String identityStoreId()
The globally unique identifier for the identity store.
- Returns:
- The globally unique identifier for the identity store.
-
membershipId
public final String membershipId()
The identifier for a
GroupMembershipobject in an identity store.- Returns:
- The identifier for a
GroupMembershipobject in an identity store.
-
groupId
public final String groupId()
The identifier for a group in the identity store.
- Returns:
- The identifier for a group in the identity store.
-
memberId
public final MemberId memberId()
An object that contains the identifier of a group member. Setting the
UserIDfield to the specific identifier for a user indicates that the user is a member of the group.- Returns:
- An object that contains the identifier of a group member. Setting the
UserIDfield to the specific identifier for a user indicates that the user is a member of the group.
-
toBuilder
public GroupMembership.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GroupMembership.Builder,GroupMembership>
-
builder
public static GroupMembership.Builder builder()
-
serializableBuilderClass
public static Class<? extends GroupMembership.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-