Class PermissionGroupByUser
- java.lang.Object
-
- software.amazon.awssdk.services.finspacedata.model.PermissionGroupByUser
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PermissionGroupByUser.Builder,PermissionGroupByUser>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePermissionGroupByUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionGroupByUser.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PermissionGroupMembershipStatusmembershipStatus()Indicates the status of the user within a permission group.StringmembershipStatusAsString()Indicates the status of the user within a permission group.Stringname()The name of the permission group.StringpermissionGroupId()The unique identifier for the permission group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PermissionGroupByUser.Builder>serializableBuilderClass()PermissionGroupByUser.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
-
permissionGroupId
public final String permissionGroupId()
The unique identifier for the permission group.
- Returns:
- The unique identifier for the permission group.
-
name
public final String name()
The name of the permission group.
- Returns:
- The name of the permission group.
-
membershipStatus
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,
membershipStatuswill returnPermissionGroupMembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipStatusAsString().- Returns:
- 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.
-
- See Also:
PermissionGroupMembershipStatus
-
-
membershipStatusAsString
public 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,
membershipStatuswill returnPermissionGroupMembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipStatusAsString().- Returns:
- 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.
-
- See Also:
PermissionGroupMembershipStatus
-
-
toBuilder
public PermissionGroupByUser.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PermissionGroupByUser.Builder,PermissionGroupByUser>
-
builder
public static PermissionGroupByUser.Builder builder()
-
serializableBuilderClass
public static Class<? extends PermissionGroupByUser.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-