@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 |
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.
|
String |
getUserName()
The Amazon QuickSight user name that you want to update.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in.
|
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 |
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.