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 .
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.