Class UpdateUserProfileRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.UpdateUserProfileRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateUserProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • UpdateUserProfileRequest

      public UpdateUserProfileRequest()
  • Method Details

    • setIamUserArn

      public void setIamUserArn(String iamUserArn)

      The user IAM ARN.

      Parameters:
      iamUserArn - The user IAM ARN.
    • getIamUserArn

      public String getIamUserArn()

      The user IAM ARN.

      Returns:
      The user IAM ARN.
    • withIamUserArn

      public UpdateUserProfileRequest withIamUserArn(String iamUserArn)

      The user IAM ARN.

      Parameters:
      iamUserArn - The user IAM ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • setSshPublicKey

      public void setSshPublicKey(String sshPublicKey)

      The user's new SSH public key.

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

      public String getSshPublicKey()

      The user's new SSH public key.

      Returns:
      The user's new SSH public key.
    • withSshPublicKey

      public UpdateUserProfileRequest withSshPublicKey(String sshPublicKey)

      The user's new SSH public key.

      Parameters:
      sshPublicKey - The user's new SSH public key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • 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.

      Parameters:
      allowSelfManagement - Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
      Returns:
      Returns a reference to this 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.
    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public UpdateUserProfileRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: