@Generated(value="software.amazon.awssdk:codegen") public final class PermissionGroupByUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PermissionGroupByUser.Builder,PermissionGroupByUser>
The structure of a permission group associated with a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PermissionGroupByUser.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PermissionGroupByUser.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PermissionGroupMembershipStatus |
membershipStatus()
Indicates the status of the user within a permission group.
|
String |
membershipStatusAsString()
Indicates the status of the user within a permission group.
|
String |
name()
The name of the permission group.
|
String |
permissionGroupId()
The unique identifier for the permission group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PermissionGroupByUser.Builder> |
serializableBuilderClass() |
PermissionGroupByUser.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String permissionGroupId()
The unique identifier for the permission group.
public final String name()
The name of the permission group.
public final PermissionGroupMembershipStatus membershipStatus()
Indicates the status of the user within a permission group.
ADDITION_IN_PROGRESS – The user is currently being added to the permission group.
ADDITION_SUCCESS – The user is successfully added to the permission group.
REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
If the service returns an enum value that is not available in the current SDK version, membershipStatus
will return PermissionGroupMembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from membershipStatusAsString().
ADDITION_IN_PROGRESS – The user is currently being added to the permission group.
ADDITION_SUCCESS – The user is successfully added to the permission group.
REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
PermissionGroupMembershipStatuspublic final String membershipStatusAsString()
Indicates the status of the user within a permission group.
ADDITION_IN_PROGRESS – The user is currently being added to the permission group.
ADDITION_SUCCESS – The user is successfully added to the permission group.
REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
If the service returns an enum value that is not available in the current SDK version, membershipStatus
will return PermissionGroupMembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from membershipStatusAsString().
ADDITION_IN_PROGRESS – The user is currently being added to the permission group.
ADDITION_SUCCESS – The user is successfully added to the permission group.
REMOVAL_IN_PROGRESS – The user is currently being removed from the permission group.
PermissionGroupMembershipStatuspublic PermissionGroupByUser.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PermissionGroupByUser.Builder,PermissionGroupByUser>public static PermissionGroupByUser.Builder builder()
public static Class<? extends PermissionGroupByUser.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.