Class User
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<User.Builder,
User>
A registered user of Amazon QuickSight.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
active()
The active status of user.final String
arn()
The Amazon Resource Name (ARN) for the user.static User.Builder
builder()
final String
The custom permissions profile associated with this user.final String
email()
The user's email address.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The type of supported external login provider that provides identity to let the user federate into Amazon QuickSight with an associated IAM role.final String
The URL of the external login provider.final String
The identity ID for the user in the external login provider.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final IdentityType
The type of identity authentication used by the user.final String
The type of identity authentication used by the user.final String
The principal ID of the user.final UserRole
role()
The Amazon QuickSight role for the user.final String
The Amazon QuickSight role for the user.static Class
<? extends User.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
userName()
The user's user name.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Amazon Resource Name (ARN) for the user.
- Returns:
- The Amazon Resource Name (ARN) for the user.
-
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
UserName
isN/A
when the value forIdentityType
isIAM
and 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
UserName
isN/A
when the value forIdentityType
isIAM
and the corresponding IAM user is deleted.
-
email
The user's email address.
- Returns:
- The user's email address.
-
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,
role
will 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:
-
-
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,
role
will 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:
-
-
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 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:
-
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 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:
-
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
The principal ID of the user.
- Returns:
- The principal ID of the user.
-
customPermissionsName
The custom permissions profile associated with this user.
- Returns:
- The custom permissions profile associated with this user.
-
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
The URL of the external login provider.
- Returns:
- The URL of the external login provider.
-
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<User.Builder,
User> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-