Class PrincipalUser
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.PrincipalUser
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PrincipalUser.Builder,PrincipalUser>
@Generated("software.amazon.awssdk:codegen") public final class PrincipalUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrincipalUser.Builder,PrincipalUser>
Provides information about a user associated with a principal.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePrincipalUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadAccessTypeaccess()Provides information about whether to allow or deny access to the principal.StringaccessAsString()Provides information about whether to allow or deny access to the principal.static PrincipalUser.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the user.MembershipTypemembershipType()The type of group.StringmembershipTypeAsString()The type of group.List<SdkField<?>>sdkFields()static Class<? extends PrincipalUser.Builder>serializableBuilderClass()PrincipalUser.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
-
id
public final String id()
The identifier of the user.
- Returns:
- The identifier of the user.
-
access
public final ReadAccessType access()
Provides information about whether to allow or deny access to the principal.
If the service returns an enum value that is not available in the current SDK version,
accesswill returnReadAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessAsString().- Returns:
- Provides information about whether to allow or deny access to the principal.
- See Also:
ReadAccessType
-
accessAsString
public final String accessAsString()
Provides information about whether to allow or deny access to the principal.
If the service returns an enum value that is not available in the current SDK version,
accesswill returnReadAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessAsString().- Returns:
- Provides information about whether to allow or deny access to the principal.
- See Also:
ReadAccessType
-
membershipType
public final MembershipType membershipType()
The type of group.
If the service returns an enum value that is not available in the current SDK version,
membershipTypewill returnMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipTypeAsString().- Returns:
- The type of group.
- See Also:
MembershipType
-
membershipTypeAsString
public final String membershipTypeAsString()
The type of group.
If the service returns an enum value that is not available in the current SDK version,
membershipTypewill returnMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommembershipTypeAsString().- Returns:
- The type of group.
- See Also:
MembershipType
-
toBuilder
public PrincipalUser.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PrincipalUser.Builder,PrincipalUser>
-
builder
public static PrincipalUser.Builder builder()
-
serializableBuilderClass
public static Class<? extends PrincipalUser.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.
-
-