|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.UpdateUserProfileRequest
public class UpdateUserProfileRequest
Container for the parameters to the UpdateUserProfile operation
.
Updates a specified user profile.
Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
AWSOpsWorks.updateUserProfile(UpdateUserProfileRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateUserProfileRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. |
String |
getIamUserArn()
The user IAM ARN. |
String |
getSshPublicKey()
The user's new SSH public key. |
String |
getSshUsername()
The user's SSH user name. |
int |
hashCode()
|
Boolean |
isAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. |
void |
setAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. |
void |
setIamUserArn(String iamUserArn)
The user IAM ARN. |
void |
setSshPublicKey(String sshPublicKey)
The user's new SSH public key. |
void |
setSshUsername(String sshUsername)
The user's SSH user name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateUserProfileRequest |
withAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. |
UpdateUserProfileRequest |
withIamUserArn(String iamUserArn)
The user IAM ARN. |
UpdateUserProfileRequest |
withSshPublicKey(String sshPublicKey)
The user's new SSH public key. |
UpdateUserProfileRequest |
withSshUsername(String sshUsername)
The user's SSH user name. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateUserProfileRequest()
Method Detail |
---|
public String getIamUserArn()
public void setIamUserArn(String iamUserArn)
iamUserArn
- The user IAM ARN.public UpdateUserProfileRequest withIamUserArn(String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn
- The user IAM ARN.
public String getSshUsername()
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 void setSshUsername(String sshUsername)
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 UpdateUserProfileRequest withSshUsername(String sshUsername)
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.
Returns a reference to this object so that method calls can be chained together.
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 String getSshPublicKey()
public void setSshPublicKey(String sshPublicKey)
sshPublicKey
- The user's new SSH public key.public UpdateUserProfileRequest withSshPublicKey(String sshPublicKey)
Returns a reference to this object so that method calls can be chained together.
sshPublicKey
- The user's new SSH public key.
public Boolean isAllowSelfManagement()
public void setAllowSelfManagement(Boolean allowSelfManagement)
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing
User Permissions.public UpdateUserProfileRequest withAllowSelfManagement(Boolean allowSelfManagement)
Returns a reference to this object so that method calls can be chained together.
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing
User Permissions.
public Boolean getAllowSelfManagement()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |