Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class UserProfile

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

public class UserProfile
extends Object
implements Serializable

Describes a user's SSH information.

See Also:
Serialized Form

Constructor Summary
UserProfile()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getIamUserArn()
          The user IAM ARN.
 String getName()
          The user name.
 String getSshPublicKey()
          The user's SSH public key.
 String getSshUsername()
          The user's SSH user name.
 int hashCode()
           
 void setIamUserArn(String iamUserArn)
          The user IAM ARN.
 void setName(String name)
          The user name.
 void setSshPublicKey(String sshPublicKey)
          The user's 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.
 UserProfile withIamUserArn(String iamUserArn)
          The user IAM ARN.
 UserProfile withName(String name)
          The user name.
 UserProfile withSshPublicKey(String sshPublicKey)
          The user's SSH public key.
 UserProfile withSshUsername(String sshUsername)
          The user's SSH user name.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserProfile

public UserProfile()
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 UserProfile 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.

getName

public String getName()
The user name.

Returns:
The user name.

setName

public void setName(String name)
The user name.

Parameters:
name - The user name.

withName

public UserProfile withName(String name)
The user name.

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

Parameters:
name - The user name.
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.

Returns:
The user's SSH user name.

setSshUsername

public void setSshUsername(String sshUsername)
The user's SSH user name.

Parameters:
sshUsername - The user's SSH user name.

withSshUsername

public UserProfile withSshUsername(String sshUsername)
The user's SSH user name.

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

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

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 UserProfile 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.