public class UserProfile
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a user's SSH information.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
allowSelfManagement
Whether users can specify their own SSH public key through the My
Settings page.
|
private java.lang.String |
iamUserArn
The user's IAM ARN.
|
private java.lang.String |
name
The user's name.
|
private java.lang.String |
sshPublicKey
The user's SSH public key.
|
private java.lang.String |
sshUsername
The user's SSH user name.
|
Constructor and Description |
---|
UserProfile() |
Modifier and Type | Method and Description |
---|---|
UserProfile |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowSelfManagement()
Whether users can specify their own SSH public key through the My
Settings page.
|
java.lang.String |
getIamUserArn()
The user's IAM ARN.
|
java.lang.String |
getName()
The user's name.
|
java.lang.String |
getSshPublicKey()
The user's SSH public key.
|
java.lang.String |
getSshUsername()
The user's SSH user name.
|
int |
hashCode() |
java.lang.Boolean |
isAllowSelfManagement()
Whether users can specify their own SSH public key through the My
Settings page.
|
void |
setAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My
Settings page.
|
void |
setIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
|
void |
setName(java.lang.String name)
The user's name.
|
void |
setSshPublicKey(java.lang.String sshPublicKey)
The user's SSH public key.
|
void |
setSshUsername(java.lang.String sshUsername)
The user's SSH user name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserProfile |
withAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My
Settings page.
|
UserProfile |
withIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
|
UserProfile |
withName(java.lang.String name)
The user's name.
|
UserProfile |
withSshPublicKey(java.lang.String sshPublicKey)
The user's SSH public key.
|
UserProfile |
withSshUsername(java.lang.String sshUsername)
The user's SSH user name.
|
private java.lang.String iamUserArn
The user's IAM ARN.
private java.lang.String name
The user's name.
private java.lang.String sshUsername
The user's SSH user name.
private java.lang.String sshPublicKey
The user's SSH public key.
private java.lang.Boolean allowSelfManagement
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public void setIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
iamUserArn
- The user's IAM ARN.public java.lang.String getIamUserArn()
The user's IAM ARN.
public UserProfile withIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN.
iamUserArn
- The user's IAM ARN.public void setName(java.lang.String name)
The user's name.
name
- The user's name.public java.lang.String getName()
The user's name.
public UserProfile withName(java.lang.String name)
The user's name.
name
- The user's name.public void setSshUsername(java.lang.String sshUsername)
The user's SSH user name.
sshUsername
- The user's SSH user name.public java.lang.String getSshUsername()
The user's SSH user name.
public UserProfile withSshUsername(java.lang.String sshUsername)
The user's SSH user name.
sshUsername
- The user's SSH user name.public void setSshPublicKey(java.lang.String sshPublicKey)
The user's SSH public key.
sshPublicKey
- The user's SSH public key.public java.lang.String getSshPublicKey()
The user's SSH public key.
public UserProfile withSshPublicKey(java.lang.String sshPublicKey)
The user's SSH public key.
sshPublicKey
- The user's SSH public key.public void setAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing User Permissions.public java.lang.Boolean getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public UserProfile withAllowSelfManagement(java.lang.Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
allowSelfManagement
- Whether users can specify their own SSH public key through the My
Settings page. For more information, see Managing User Permissions.public java.lang.Boolean isAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UserProfile clone()
clone
in class java.lang.Object