@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateUserRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID for the AWS account that the user is in.
|
String |
getCustomPermissionsName()
The name of the custom permissions profile that you want to assign to this user.
|
String |
getEmail()
The email address of the user that you want to update.
|
String |
getNamespace()
The namespace.
|
String |
getRole()
The Amazon QuickSight role of the user.
|
Boolean |
getUnapplyCustomPermissions()
A flag that you use to indicate that you want to remove all custom permissions from this user.
|
String |
getUserName()
The Amazon QuickSight user name that you want to update.
|
int |
hashCode() |
Boolean |
isUnapplyCustomPermissions()
A flag that you use to indicate that you want to remove all custom permissions from this user.
|
void |
setAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in.
|
void |
setCustomPermissionsName(String customPermissionsName)
The name of the custom permissions profile that you want to assign to this user.
|
void |
setEmail(String email)
The email address of the user that you want to update.
|
void |
setNamespace(String namespace)
The namespace.
|
void |
setRole(String role)
The Amazon QuickSight role of the user.
|
void |
setUnapplyCustomPermissions(Boolean unapplyCustomPermissions)
A flag that you use to indicate that you want to remove all custom permissions from this user.
|
void |
setUserName(String userName)
The Amazon QuickSight user name that you want to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUserRequest |
withAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in.
|
UpdateUserRequest |
withCustomPermissionsName(String customPermissionsName)
The name of the custom permissions profile that you want to assign to this user.
|
UpdateUserRequest |
withEmail(String email)
The email address of the user that you want to update.
|
UpdateUserRequest |
withNamespace(String namespace)
The namespace.
|
UpdateUserRequest |
withRole(String role)
The Amazon QuickSight role of the user.
|
UpdateUserRequest |
withRole(UserRole role)
The Amazon QuickSight role of the user.
|
UpdateUserRequest |
withUnapplyCustomPermissions(Boolean unapplyCustomPermissions)
A flag that you use to indicate that you want to remove all custom permissions from this user.
|
UpdateUserRequest |
withUserName(String userName)
The Amazon QuickSight user name that you want to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserName(String userName)
The Amazon QuickSight user name that you want to update.
userName
- The Amazon QuickSight user name that you want to update.public String getUserName()
The Amazon QuickSight user name that you want to update.
public UpdateUserRequest withUserName(String userName)
The Amazon QuickSight user name that you want to update.
userName
- The Amazon QuickSight user name that you want to update.public void setAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public String getAwsAccountId()
The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
public UpdateUserRequest withAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId
- The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public void setNamespace(String namespace)
The namespace. Currently, you should set this to default
.
namespace
- The namespace. Currently, you should set this to default
.public String getNamespace()
The namespace. Currently, you should set this to default
.
default
.public UpdateUserRequest withNamespace(String namespace)
The namespace. Currently, you should set this to default
.
namespace
- The namespace. Currently, you should set this to default
.public void setEmail(String email)
The email address of the user that you want to update.
email
- The email address of the user that you want to update.public String getEmail()
The email address of the user that you want to update.
public UpdateUserRequest withEmail(String email)
The email address of the user that you want to update.
email
- The email address of the user that you want to update.public void setRole(String role)
The Amazon QuickSight role of 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.
role
- The Amazon QuickSight role of 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.
UserRole
public String getRole()
The Amazon QuickSight role of 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.
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.
UserRole
public UpdateUserRequest withRole(String role)
The Amazon QuickSight role of 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.
role
- The Amazon QuickSight role of 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.
UserRole
public UpdateUserRequest withRole(UserRole role)
The Amazon QuickSight role of 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.
role
- The Amazon QuickSight role of 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.
UserRole
public void setCustomPermissionsName(String customPermissionsName)
The name of the custom permissions profile that you want to assign to this user. Currently, custom permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API to assign the named set of permissions to a QuickSight user.
customPermissionsName
- The name of the custom permissions profile that you want to assign to this user. Currently, custom
permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API
to assign the named set of permissions to a QuickSight user.public String getCustomPermissionsName()
The name of the custom permissions profile that you want to assign to this user. Currently, custom permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API to assign the named set of permissions to a QuickSight user.
public UpdateUserRequest withCustomPermissionsName(String customPermissionsName)
The name of the custom permissions profile that you want to assign to this user. Currently, custom permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API to assign the named set of permissions to a QuickSight user.
customPermissionsName
- The name of the custom permissions profile that you want to assign to this user. Currently, custom
permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API
to assign the named set of permissions to a QuickSight user.public void setUnapplyCustomPermissions(Boolean unapplyCustomPermissions)
A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.
unapplyCustomPermissions
- A flag that you use to indicate that you want to remove all custom permissions from this user. Using this
parameter resets the user to the state it was in before a custom permissions profile was applied. This
parameter defaults to NULL and it doesn't accept any other value.public Boolean getUnapplyCustomPermissions()
A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.
public UpdateUserRequest withUnapplyCustomPermissions(Boolean unapplyCustomPermissions)
A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.
unapplyCustomPermissions
- A flag that you use to indicate that you want to remove all custom permissions from this user. Using this
parameter resets the user to the state it was in before a custom permissions profile was applied. This
parameter defaults to NULL and it doesn't accept any other value.public Boolean isUnapplyCustomPermissions()
A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.
public String toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()