@Generated(value="software.amazon.awssdk:codegen") public final class PermissionEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PermissionEntry.Builder,PermissionEntry>
A structure containing the identity of one user or group and the Admin, Editor, or
Viewer role that they have.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PermissionEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PermissionEntry.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Role |
role()
Specifies whether the user or group has the
Admin, Editor, or Viewer role. |
String |
roleAsString()
Specifies whether the user or group has the
Admin, Editor, or Viewer role. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PermissionEntry.Builder> |
serializableBuilderClass() |
PermissionEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
User |
user()
A structure with the ID of the user or group with this role.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Role role()
Specifies whether the user or group has the Admin, Editor, or Viewer role.
If the service returns an enum value that is not available in the current SDK version, role will return
Role.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
Admin, Editor, or
Viewer role.Rolepublic final String roleAsString()
Specifies whether the user or group has the Admin, Editor, or Viewer role.
If the service returns an enum value that is not available in the current SDK version, role will return
Role.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
Admin, Editor, or
Viewer role.Rolepublic final User user()
A structure with the ID of the user or group with this role.
public PermissionEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PermissionEntry.Builder,PermissionEntry>public static PermissionEntry.Builder builder()
public static Class<? extends PermissionEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.