public class UpdateUserProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
allowSelfManagement
Whether users can specify their own SSH public key through the My
Settings page.
|
private java.lang.String |
iamUserArn
The user IAM ARN.
|
private java.lang.String |
sshPublicKey
The user's new SSH public key.
|
private java.lang.String |
sshUsername
The user's SSH user name.
|
NOOP
Constructor and Description |
---|
UpdateUserProfileRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserProfileRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowSelfManagement()
Whether users can specify their own SSH public key through the My
Settings page.
|
java.lang.String |
getIamUserArn()
The user IAM ARN.
|
java.lang.String |
getSshPublicKey()
The user's new SSH public key.
|
java.lang.String |
getSshUsername()
The user's SSH user name.
|
int |
hashCode() |
java.lang.Boolean |
isAllowSelfManagement()
Whether users can specify their own SSH public key through the My
Settings page.
|
void |
setAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My
Settings page.
|
void |
setIamUserArn(java.lang.String iamUserArn)
The user IAM ARN.
|
void |
setSshPublicKey(java.lang.String sshPublicKey)
The user's new SSH public key.
|
void |
setSshUsername(java.lang.String sshUsername)
The user's SSH user name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateUserProfileRequest |
withAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My
Settings page.
|
UpdateUserProfileRequest |
withIamUserArn(java.lang.String iamUserArn)
The user IAM ARN.
|
UpdateUserProfileRequest |
withSshPublicKey(java.lang.String sshPublicKey)
The user's new SSH public key.
|
UpdateUserProfileRequest |
withSshUsername(java.lang.String sshUsername)
The user's SSH user name.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String iamUserArn
The user IAM ARN.
private java.lang.String sshUsername
The user's SSH user name. The allowable characters are [a-z], [A-Z],
[0-9], '-', and '_'. If the specified name includes other punctuation
marks, AWS OpsWorks removes them. For example, my.name
will
be changed to myname
. If you do not specify an SSH user
name, AWS OpsWorks generates one from the IAM user name.
private java.lang.String sshPublicKey
The user's new SSH public key.
private java.lang.Boolean allowSelfManagement
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public void setIamUserArn(java.lang.String iamUserArn)
The user IAM ARN.
iamUserArn
- The user IAM ARN.public java.lang.String getIamUserArn()
The user IAM ARN.
public UpdateUserProfileRequest withIamUserArn(java.lang.String iamUserArn)
The user IAM ARN.
iamUserArn
- The user IAM ARN.public void setSshUsername(java.lang.String sshUsername)
The user's SSH user name. The allowable characters are [a-z], [A-Z],
[0-9], '-', and '_'. If the specified name includes other punctuation
marks, AWS OpsWorks removes them. For example, my.name
will
be changed to myname
. If you do not specify an SSH user
name, AWS OpsWorks generates one from the IAM user name.
sshUsername
- The user's SSH user name. The allowable characters are [a-z],
[A-Z], [0-9], '-', and '_'. If the specified name includes other
punctuation marks, AWS OpsWorks removes them. For example,
my.name
will be changed to myname
. If
you do not specify an SSH user name, AWS OpsWorks generates one
from the IAM user name.public java.lang.String getSshUsername()
The user's SSH user name. The allowable characters are [a-z], [A-Z],
[0-9], '-', and '_'. If the specified name includes other punctuation
marks, AWS OpsWorks removes them. For example, my.name
will
be changed to myname
. If you do not specify an SSH user
name, AWS OpsWorks generates one from the IAM user name.
my.name
will be changed to myname
. If
you do not specify an SSH user name, AWS OpsWorks generates one
from the IAM user name.public UpdateUserProfileRequest withSshUsername(java.lang.String sshUsername)
The user's SSH user name. The allowable characters are [a-z], [A-Z],
[0-9], '-', and '_'. If the specified name includes other punctuation
marks, AWS OpsWorks removes them. For example, my.name
will
be changed to myname
. If you do not specify an SSH user
name, AWS OpsWorks generates one from the IAM user name.
sshUsername
- The user's SSH user name. The allowable characters are [a-z],
[A-Z], [0-9], '-', and '_'. If the specified name includes other
punctuation marks, AWS OpsWorks removes them. For example,
my.name
will be changed to myname
. If
you do not specify an SSH user name, AWS OpsWorks generates one
from the IAM user name.public void setSshPublicKey(java.lang.String sshPublicKey)
The user's new SSH public key.
sshPublicKey
- The user's new SSH public key.public java.lang.String getSshPublicKey()
The user's new SSH public key.
public UpdateUserProfileRequest withSshPublicKey(java.lang.String sshPublicKey)
The user's new SSH public key.
sshPublicKey
- The user's new SSH public key.public void setAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing User Permissions.public java.lang.Boolean getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public UpdateUserProfileRequest withAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing User Permissions.public java.lang.Boolean isAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateUserProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()