@Generated(value="software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
A registered user of Amazon QuickSight.
| Modifier and Type | Class and Description |
|---|---|
static interface |
User.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
active()
The active status of user.
|
String |
arn()
The Amazon Resource Name (ARN) for the user.
|
static User.Builder |
builder() |
String |
customPermissionsName()
The custom permissions profile associated with this user.
|
String |
email()
The user's email address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IdentityType |
identityType()
The type of identity authentication used by the user.
|
String |
identityTypeAsString()
The type of identity authentication used by the user.
|
String |
principalId()
The principal ID of the user.
|
UserRole |
role()
The Amazon QuickSight role for the user.
|
String |
roleAsString()
The Amazon QuickSight role for the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends User.Builder> |
serializableBuilderClass() |
User.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The user's user name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String arn()
The Amazon Resource Name (ARN) for the user.
public String userName()
The user's user name.
public String email()
The user's email address.
public UserRole role()
The Amazon QuickSight role for the user. The user role can be one of the following:.
READER: A user who has read-only access to dashboards.
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.
ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.
RESTRICTED_READER: This role isn't currently available for use.
RESTRICTED_AUTHOR: This role isn't currently available for use.
If the service returns an enum value that is not available in the current SDK version, role will return
UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
READER: A user who has read-only access to dashboards.
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.
ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.
RESTRICTED_READER: This role isn't currently available for use.
RESTRICTED_AUTHOR: This role isn't currently available for use.
UserRolepublic String roleAsString()
The Amazon QuickSight role for the user. The user role can be one of the following:.
READER: A user who has read-only access to dashboards.
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.
ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.
RESTRICTED_READER: This role isn't currently available for use.
RESTRICTED_AUTHOR: This role isn't currently available for use.
If the service returns an enum value that is not available in the current SDK version, role will return
UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
READER: A user who has read-only access to dashboards.
AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.
ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.
RESTRICTED_READER: This role isn't currently available for use.
RESTRICTED_AUTHOR: This role isn't currently available for use.
UserRolepublic IdentityType identityType()
The type of identity authentication used by the user.
If the service returns an enum value that is not available in the current SDK version, identityType will
return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
identityTypeAsString().
IdentityTypepublic String identityTypeAsString()
The type of identity authentication used by the user.
If the service returns an enum value that is not available in the current SDK version, identityType will
return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
identityTypeAsString().
IdentityTypepublic Boolean active()
The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.
public String principalId()
The principal ID of the user.
public String customPermissionsName()
The custom permissions profile associated with this user.
public User.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<User.Builder,User>public static User.Builder builder()
public static Class<? extends User.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.