@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
A registered user of Amazon QuickSight.
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
The active status of user.
|
String |
getArn()
The Amazon Resource Name (ARN) for the user.
|
String |
getCustomPermissionsName()
The custom permissions profile associated with this user.
|
String |
getEmail()
The user's email address.
|
String |
getIdentityType()
The type of identity authentication used by the user.
|
String |
getPrincipalId()
The principal ID of the user.
|
String |
getRole()
The Amazon QuickSight role for the user.
|
String |
getUserName()
The user's user name.
|
int |
hashCode() |
Boolean |
isActive()
The active status of user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
The active status of user.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the user.
|
void |
setCustomPermissionsName(String customPermissionsName)
The custom permissions profile associated with this user.
|
void |
setEmail(String email)
The user's email address.
|
void |
setIdentityType(String identityType)
The type of identity authentication used by the user.
|
void |
setPrincipalId(String principalId)
The principal ID of the user.
|
void |
setRole(String role)
The Amazon QuickSight role for the user.
|
void |
setUserName(String userName)
The user's user name.
|
String |
toString()
Returns a string representation of this object.
|
User |
withActive(Boolean active)
The active status of user.
|
User |
withArn(String arn)
The Amazon Resource Name (ARN) for the user.
|
User |
withCustomPermissionsName(String customPermissionsName)
The custom permissions profile associated with this user.
|
User |
withEmail(String email)
The user's email address.
|
User |
withIdentityType(IdentityType identityType)
The type of identity authentication used by the user.
|
User |
withIdentityType(String identityType)
The type of identity authentication used by the user.
|
User |
withPrincipalId(String principalId)
The principal ID of the user.
|
User |
withRole(String role)
The Amazon QuickSight role for the user.
|
User |
withRole(UserRole role)
The Amazon QuickSight role for the user.
|
User |
withUserName(String userName)
The user's user name.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the user.
arn
- The Amazon Resource Name (ARN) for the user.public String getArn()
The Amazon Resource Name (ARN) for the user.
public User withArn(String arn)
The Amazon Resource Name (ARN) for the user.
arn
- The Amazon Resource Name (ARN) for the user.public void setUserName(String userName)
The user's user name.
userName
- The user's user name.public String getUserName()
The user's user name.
public User withUserName(String userName)
The user's user name.
userName
- The user's user name.public void setEmail(String email)
The user's email address.
email
- The user's email address.public String getEmail()
The user's email address.
public User withEmail(String email)
The user's email address.
email
- The user's email address.public void setRole(String 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.
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.
UserRole
public String getRole()
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.
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.
UserRole
public User withRole(String 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.
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.
UserRole
public User withRole(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.
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.
UserRole
public void setIdentityType(String identityType)
The type of identity authentication used by the user.
identityType
- The type of identity authentication used by the user.IdentityType
public String getIdentityType()
The type of identity authentication used by the user.
IdentityType
public User withIdentityType(String identityType)
The type of identity authentication used by the user.
identityType
- The type of identity authentication used by the user.IdentityType
public User withIdentityType(IdentityType identityType)
The type of identity authentication used by the user.
identityType
- The type of identity authentication used by the user.IdentityType
public void setActive(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.
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 Boolean getActive()
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 User withActive(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.
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 Boolean isActive()
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 void setPrincipalId(String principalId)
The principal ID of the user.
principalId
- The principal ID of the user.public String getPrincipalId()
The principal ID of the user.
public User withPrincipalId(String principalId)
The principal ID of the user.
principalId
- The principal ID of the user.public void setCustomPermissionsName(String customPermissionsName)
The custom permissions profile associated with this user.
customPermissionsName
- The custom permissions profile associated with this user.public String getCustomPermissionsName()
The custom permissions profile associated with this user.
public User withCustomPermissionsName(String customPermissionsName)
The custom permissions profile associated with this user.
customPermissionsName
- The custom permissions profile associated with this user.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.