Class PermissionInfo
- java.lang.Object
-
- software.amazon.awssdk.services.workdocs.model.PermissionInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PermissionInfo.Builder,PermissionInfo>
@Generated("software.amazon.awssdk:codegen") public final class PermissionInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PermissionInfo.Builder,PermissionInfo>
Describes the permissions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePermissionInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RoleTyperole()The role of the user.StringroleAsString()The role of the user.List<SdkField<?>>sdkFields()static Class<? extends PermissionInfo.Builder>serializableBuilderClass()PermissionInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.RolePermissionTypetype()The type of permissions.StringtypeAsString()The type of permissions.-
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
-
role
public final RoleType role()
The role of the user.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role of the user.
- See Also:
RoleType
-
roleAsString
public final String roleAsString()
The role of the user.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role of the user.
- See Also:
RoleType
-
type
public final RolePermissionType type()
The type of permissions.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRolePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of permissions.
- See Also:
RolePermissionType
-
typeAsString
public final String typeAsString()
The type of permissions.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRolePermissionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of permissions.
- See Also:
RolePermissionType
-
toBuilder
public PermissionInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PermissionInfo.Builder,PermissionInfo>
-
builder
public static PermissionInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends PermissionInfo.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.
-
-