@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterUserRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterUserRequest |
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 register.
|
String |
getIamArn()
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
|
String |
getIdentityType()
Amazon QuickSight supports several ways of managing the identity of users.
|
String |
getNamespace()
The namespace.
|
String |
getSessionName()
You need to use this parameter only when you register one or more users using an assumed IAM role.
|
String |
getUserName()
The Amazon QuickSight user name that you want to create for the user you are registering.
|
String |
getUserRole()
The Amazon QuickSight role for the user.
|
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 register.
|
void |
setIamArn(String iamArn)
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
|
void |
setIdentityType(String identityType)
Amazon QuickSight supports several ways of managing the identity of users.
|
void |
setNamespace(String namespace)
The namespace.
|
void |
setSessionName(String sessionName)
You need to use this parameter only when you register one or more users using an assumed IAM role.
|
void |
setUserName(String userName)
The Amazon QuickSight user name that you want to create for the user you are registering.
|
void |
setUserRole(String userRole)
The Amazon QuickSight role for the user.
|
String |
toString()
Returns a string representation of this object.
|
RegisterUserRequest |
withAwsAccountId(String awsAccountId)
The ID for the AWS account that the user is in.
|
RegisterUserRequest |
withEmail(String email)
The email address of the user that you want to register.
|
RegisterUserRequest |
withIamArn(String iamArn)
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
|
RegisterUserRequest |
withIdentityType(IdentityType identityType)
Amazon QuickSight supports several ways of managing the identity of users.
|
RegisterUserRequest |
withIdentityType(String identityType)
Amazon QuickSight supports several ways of managing the identity of users.
|
RegisterUserRequest |
withNamespace(String namespace)
The namespace.
|
RegisterUserRequest |
withSessionName(String sessionName)
You need to use this parameter only when you register one or more users using an assumed IAM role.
|
RegisterUserRequest |
withUserName(String userName)
The Amazon QuickSight user name that you want to create for the user you are registering.
|
RegisterUserRequest |
withUserRole(String userRole)
The Amazon QuickSight role for the user.
|
RegisterUserRequest |
withUserRole(UserRole userRole)
The Amazon QuickSight role for the user.
|
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 setIdentityType(String identityType)
Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
identityType
- Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two
values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
IdentityType
public String getIdentityType()
Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
IdentityType
public RegisterUserRequest withIdentityType(String identityType)
Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
identityType
- Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two
values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
IdentityType
public RegisterUserRequest withIdentityType(IdentityType identityType)
Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
identityType
- Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two
values:
IAM
: A user whose identity maps to an existing IAM user or role.
QUICKSIGHT
: A user whose identity is owned and managed internally by Amazon QuickSight.
IdentityType
public void setEmail(String email)
The email address of the user that you want to register.
email
- The email address of the user that you want to register.public String getEmail()
The email address of the user that you want to register.
public RegisterUserRequest withEmail(String email)
The email address of the user that you want to register.
email
- The email address of the user that you want to register.public void setUserRole(String userRole)
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
- 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 getUserRole()
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 RegisterUserRequest withUserRole(String userRole)
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
- 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 RegisterUserRequest withUserRole(UserRole userRole)
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
- 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 setIamArn(String iamArn)
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
iamArn
- The ARN of the IAM user or role that you are registering with Amazon QuickSight.public String getIamArn()
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
public RegisterUserRequest withIamArn(String iamArn)
The ARN of the IAM user or role that you are registering with Amazon QuickSight.
iamArn
- The ARN of the IAM user or role that you are registering with Amazon QuickSight.public void setSessionName(String sessionName)
You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need
to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon
QuickSight user. You can register multiple users using the same IAM role if each user has a different session
name. For more information on assuming IAM roles, see assume-role
in
the AWS CLI Reference.
sessionName
- You need to use this parameter only when you register one or more users using an assumed IAM role. You
don't need to provide the session name for other scenarios, for example when you are registering an IAM
user or an Amazon QuickSight user. You can register multiple users using the same IAM role if each user
has a different session name. For more information on assuming IAM roles, see assume-role
in the AWS CLI Reference.public String getSessionName()
You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need
to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon
QuickSight user. You can register multiple users using the same IAM role if each user has a different session
name. For more information on assuming IAM roles, see assume-role
in
the AWS CLI Reference.
assume-role
in the AWS CLI Reference.public RegisterUserRequest withSessionName(String sessionName)
You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need
to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon
QuickSight user. You can register multiple users using the same IAM role if each user has a different session
name. For more information on assuming IAM roles, see assume-role
in
the AWS CLI Reference.
sessionName
- You need to use this parameter only when you register one or more users using an assumed IAM role. You
don't need to provide the session name for other scenarios, for example when you are registering an IAM
user or an Amazon QuickSight user. You can register multiple users using the same IAM role if each user
has a different session name. For more information on assuming IAM roles, see assume-role
in the AWS CLI Reference.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 RegisterUserRequest 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 RegisterUserRequest withNamespace(String namespace)
The namespace. Currently, you should set this to default
.
namespace
- The namespace. Currently, you should set this to default
.public void setUserName(String userName)
The Amazon QuickSight user name that you want to create for the user you are registering.
userName
- The Amazon QuickSight user name that you want to create for the user you are registering.public String getUserName()
The Amazon QuickSight user name that you want to create for the user you are registering.
public RegisterUserRequest withUserName(String userName)
The Amazon QuickSight user name that you want to create for the user you are registering.
userName
- The Amazon QuickSight user name that you want to create for the user you are registering.public String toString()
toString
in class Object
Object.toString()
public RegisterUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.