public class UserProfile extends Object implements Serializable
Describes a user's SSH information.
Constructor and Description |
---|
UserProfile() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getIamUserArn()
public void setIamUserArn(String iamUserArn)
iamUserArn
- The user IAM ARN.public UserProfile withIamUserArn(String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn
- The user IAM ARN.public String getName()
public void setName(String name)
name
- The user name.public UserProfile withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The user name.public String getSshUsername()
public void setSshUsername(String sshUsername)
sshUsername
- The user's SSH user name.public UserProfile withSshUsername(String sshUsername)
Returns a reference to this object so that method calls can be chained together.
sshUsername
- The user's SSH user name.public String getSshPublicKey()
public void setSshPublicKey(String sshPublicKey)
sshPublicKey
- The user's SSH public key.public UserProfile 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.