@Generated(value="software.amazon.awssdk:codegen") public class PermissionInfo extends Object implements StructuredPojo, ToCopyableBuilder<PermissionInfo.Builder,PermissionInfo>
Describes the permissions.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PermissionInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PermissionInfo.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
RoleType |
role()
The role of the user.
|
String |
roleAsString()
The role of the user.
|
static Class<? extends PermissionInfo.Builder> |
serializableBuilderClass() |
PermissionInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
RolePermissionType |
type()
The type of permissions.
|
String |
typeAsString()
The type of permissions.
|
copypublic RoleType role()
The role of the user.
If the service returns an enum value that is not available in the current SDK version, role will return
RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
RoleTypepublic String roleAsString()
The role of the user.
If the service returns an enum value that is not available in the current SDK version, role will return
RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
RoleTypepublic RolePermissionType type()
The type of permissions.
If the service returns an enum value that is not available in the current SDK version, type will return
RolePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RolePermissionTypepublic String typeAsString()
The type of permissions.
If the service returns an enum value that is not available in the current SDK version, type will return
RolePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RolePermissionTypepublic PermissionInfo.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PermissionInfo.Builder,PermissionInfo>public static PermissionInfo.Builder builder()
public static Class<? extends PermissionInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.