com.amazonaws.services.opsworks.model
Class UpdateMyUserProfileRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.UpdateMyUserProfileRequest
All Implemented Interfaces:
Serializable

public class UpdateMyUserProfileRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 .

See Also:
AWSOpsWorks.updateMyUserProfile(UpdateMyUserProfileRequest), Serialized Form

Constructor Summary
UpdateMyUserProfileRequest()
           
 
Method Summary
 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.
 
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

UpdateMyUserProfileRequest

public UpdateMyUserProfileRequest()
Method Detail

getSshPublicKey

public String getSshPublicKey()
The user's SSH public key.

Returns:
The user's SSH public key.

setSshPublicKey

public void setSshPublicKey(String sshPublicKey)
The user's SSH public key.

Parameters:
sshPublicKey - The user's SSH public key.

withSshPublicKey

public UpdateMyUserProfileRequest withSshPublicKey(String sshPublicKey)
The user's SSH public key.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sshPublicKey - The user's SSH public key.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.