Class UserProfile
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.UserProfile
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UserProfile extends Object implements Serializable, Cloneable
Describes a user's SSH information.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserProfileclone()booleanequals(Object obj)BooleangetAllowSelfManagement()Whether users can specify their own SSH public key through the My Settings page.StringgetIamUserArn()The user's IAM ARN.StringgetName()The user's name.StringgetSshPublicKey()The user's SSH public key.StringgetSshUsername()The user's SSH user name.inthashCode()BooleanisAllowSelfManagement()Whether users can specify their own SSH public key through the My Settings page.voidsetAllowSelfManagement(Boolean allowSelfManagement)Whether users can specify their own SSH public key through the My Settings page.voidsetIamUserArn(String iamUserArn)The user's IAM ARN.voidsetName(String name)The user's name.voidsetSshPublicKey(String sshPublicKey)The user's SSH public key.voidsetSshUsername(String sshUsername)The user's SSH user name.StringtoString()Returns a string representation of this object; useful for testing and debugging.UserProfilewithAllowSelfManagement(Boolean allowSelfManagement)Whether users can specify their own SSH public key through the My Settings page.UserProfilewithIamUserArn(String iamUserArn)The user's IAM ARN.UserProfilewithName(String name)The user's name.UserProfilewithSshPublicKey(String sshPublicKey)The user's SSH public key.UserProfilewithSshUsername(String sshUsername)The user's SSH user name.
-
-
-
Method Detail
-
setIamUserArn
public void setIamUserArn(String iamUserArn)
The user's IAM ARN.
- Parameters:
iamUserArn- The user's IAM ARN.
-
getIamUserArn
public String getIamUserArn()
The user's IAM ARN.
- Returns:
- The user's IAM ARN.
-
withIamUserArn
public UserProfile withIamUserArn(String iamUserArn)
The user's IAM ARN.
- Parameters:
iamUserArn- The user's IAM ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The user's name.
- Parameters:
name- The user's name.
-
getName
public String getName()
The user's name.
- Returns:
- The user's name.
-
withName
public UserProfile withName(String name)
The user's name.
- Parameters:
name- The user's name.- 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.
- Parameters:
sshUsername- The user's SSH user name.
-
getSshUsername
public String getSshUsername()
The user's SSH user name.
- Returns:
- The user's SSH user name.
-
withSshUsername
public UserProfile withSshUsername(String sshUsername)
The user's SSH user name.
- Parameters:
sshUsername- The user's SSH 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 SSH public key.
- Parameters:
sshPublicKey- The user's SSH public key.
-
getSshPublicKey
public String getSshPublicKey()
The user's SSH public key.
- Returns:
- The user's SSH public key.
-
withSshPublicKey
public UserProfile withSshPublicKey(String sshPublicKey)
The user's SSH public key.
- Parameters:
sshPublicKey- The user's 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 UserProfile 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UserProfile clone()
-
-