com.amazonaws.services.opsworks.model
Class UpdateUserProfileRequest

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

public class UpdateUserProfileRequest
extends AmazonWebServiceRequest
implements Serializable

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 .

See Also:
AWSOpsWorks.updateUserProfile(UpdateUserProfileRequest), Serialized Form

Constructor 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

UpdateUserProfileRequest

public UpdateUserProfileRequest()
Method Detail

getIamUserArn

public String getIamUserArn()
The user IAM ARN.

Returns:
The user IAM ARN.

setIamUserArn

public void setIamUserArn(String iamUserArn)
The user IAM ARN.

Parameters:
iamUserArn - The user IAM ARN.

withIamUserArn

public UpdateUserProfileRequest withIamUserArn(String iamUserArn)
The user IAM ARN.

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

Parameters:
iamUserArn - The user IAM ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshUsername

public 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.

Returns:
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.

setSshUsername

public void setSshUsername(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.

Parameters:
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.

withSshUsername

public UpdateUserProfileRequest withSshUsername(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.

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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshPublicKey

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

Returns:
The user's new SSH public key.

setSshPublicKey

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

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

withSshPublicKey

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

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

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

isAllowSelfManagement

public Boolean isAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

Returns:
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

setAllowSelfManagement

public void setAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

Parameters:
allowSelfManagement - Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

withAllowSelfManagement

public UpdateUserProfileRequest withAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

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

Parameters:
allowSelfManagement - Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllowSelfManagement

public Boolean getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

Returns:
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

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.