Class User
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.User
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<User.Builder,User>
@Generated("software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
A registered user of Amazon QuickSight.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()The active status of user.Stringarn()The Amazon Resource Name (ARN) for the user.static User.Builderbuilder()StringcustomPermissionsName()The custom permissions profile associated with this user.Stringemail()The user's email address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexternalLoginFederationProviderType()The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role.StringexternalLoginFederationProviderUrl()The URL of the external login provider.StringexternalLoginId()The identity ID for the user in the external login provider.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IdentityTypeidentityType()The type of identity authentication used by the user.StringidentityTypeAsString()The type of identity authentication used by the user.StringprincipalId()The principal ID of the user.UserRolerole()The Amazon QuickSight role for the user.StringroleAsString()The Amazon QuickSight role for the user.List<SdkField<?>>sdkFields()static Class<? extends User.Builder>serializableBuilderClass()User.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserName()The user's user name.-
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
-
arn
public final String arn()
The Amazon Resource Name (ARN) for the user.
- Returns:
- The Amazon Resource Name (ARN) for the user.
-
userName
public final String userName()
The user's user name. This value is required if you are registering a user that will be managed in Amazon QuickSight. In the output, the value for
UserNameisN/Awhen the value forIdentityTypeisIAMand the corresponding IAM user is deleted.- Returns:
- The user's user name. This value is required if you are registering a user that will be managed in Amazon
QuickSight. In the output, the value for
UserNameisN/Awhen the value forIdentityTypeisIAMand the corresponding IAM user is deleted.
-
email
public final String email()
The user's email address.
- Returns:
- The user's email address.
-
role
public final 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 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,
rolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- 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 Amazon QuickSight settings. -
RESTRICTED_READER: This role isn't currently available for use. -
RESTRICTED_AUTHOR: This role isn't currently available for use.
-
- See Also:
UserRole
-
-
roleAsString
public final 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 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,
rolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- 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 Amazon QuickSight settings. -
RESTRICTED_READER: This role isn't currently available for use. -
RESTRICTED_AUTHOR: This role isn't currently available for use.
-
- See Also:
UserRole
-
-
identityType
public final 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,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- The type of identity authentication used by the user.
- See Also:
IdentityType
-
identityTypeAsString
public final 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,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- The type of identity authentication used by the user.
- See Also:
IdentityType
-
active
public final 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.
- Returns:
- 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.
-
principalId
public final String principalId()
The principal ID of the user.
- Returns:
- The principal ID of the user.
-
customPermissionsName
public final String customPermissionsName()
The custom permissions profile associated with this user.
- Returns:
- The custom permissions profile associated with this user.
-
externalLoginFederationProviderType
public final String externalLoginFederationProviderType()
The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role. The type can be one of the following.
-
COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. -
CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
- Returns:
- The type of supported external login provider that provides identity to let the user federate into Amazon
QuickSight with an associated IAM role. The type can be one of the following.
-
COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. -
CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
-
-
-
externalLoginFederationProviderUrl
public final String externalLoginFederationProviderUrl()
The URL of the external login provider.
- Returns:
- The URL of the external login provider.
-
externalLoginId
public final String externalLoginId()
The identity ID for the user in the external login provider.
- Returns:
- The identity ID for the user in the external login provider.
-
toBuilder
public User.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<User.Builder,User>
-
builder
public static User.Builder builder()
-
serializableBuilderClass
public static Class<? extends User.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.
-
-