Class GroupMembership
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GroupMembership.Builder,GroupMembership>
Contains the identifiers for a group, a group member, and a GroupMembership object in the identity
store.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupMembership.Builderbuilder()final InstantThe date and time the group membership was created.final StringThe identifier of the user or system that created the group membership.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final StringgroupId()The identifier for a group in the identity store.final inthashCode()final StringThe globally unique identifier for the identity store.final MemberIdmemberId()An object that contains the identifier of a group member.final StringThe identifier for aGroupMembershipobject in an identity store.static Class<? extends GroupMembership.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe date and time the group membership was last updated.final StringThe identifier of the user or system that last updated the group membership.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
identityStoreId
The globally unique identifier for the identity store.
- Returns:
- The globally unique identifier for the identity store.
-
membershipId
The identifier for a
GroupMembershipobject in an identity store.- Returns:
- The identifier for a
GroupMembershipobject in an identity store.
-
groupId
The identifier for a group in the identity store.
- Returns:
- The identifier for a group in the identity store.
-
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.
-
createdAt
The date and time the group membership was created.
- Returns:
- The date and time the group membership was created.
-
updatedAt
The date and time the group membership was last updated.
- Returns:
- The date and time the group membership was last updated.
-
createdBy
The identifier of the user or system that created the group membership.
- Returns:
- The identifier of the user or system that created the group membership.
-
updatedBy
The identifier of the user or system that last updated the group membership.
- Returns:
- The identifier of the user or system that last updated the group membership.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GroupMembership.Builder,GroupMembership> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-