public class UpdateMyUserProfileRequest extends AmazonWebServiceRequest implements Serializable
UpdateMyUserProfile operation.
Updates a user's SSH public key.
Required Permissions : To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP| Constructor and Description |
|---|
UpdateMyUserProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSshPublicKey()
The user's SSH public key.
|
int |
hashCode() |
void |
setSshPublicKey(String sshPublicKey)
The user's SSH public key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateMyUserProfileRequest |
withSshPublicKey(String sshPublicKey)
The user's SSH public key.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getSshPublicKey()
public void setSshPublicKey(String sshPublicKey)
sshPublicKey - The user's SSH public key.public UpdateMyUserProfileRequest withSshPublicKey(String sshPublicKey)
Returns a reference to this object so that method calls can be chained together.
sshPublicKey - The user's SSH public key.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.