@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListedUser extends Object implements Serializable, Cloneable, StructuredPojo
Returns properties of the user that you specify.
| Constructor and Description |
|---|
ListedUser() |
| Modifier and Type | Method and Description |
|---|---|
ListedUser |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
|
String |
getHomeDirectory()
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you
specify by their ARN.
|
String |
getRole()
The role in use by this user.
|
Integer |
getSshPublicKeyCount()
This value is the number of SSH public keys stored for the user you specified.
|
String |
getUserName()
The name of the user whose ARN was specified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
|
void |
setHomeDirectory(String homeDirectory)
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you
specify by their ARN.
|
void |
setRole(String role)
The role in use by this user.
|
void |
setSshPublicKeyCount(Integer sshPublicKeyCount)
This value is the number of SSH public keys stored for the user you specified.
|
void |
setUserName(String userName)
The name of the user whose ARN was specified.
|
String |
toString()
Returns a string representation of this object.
|
ListedUser |
withArn(String arn)
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
|
ListedUser |
withHomeDirectory(String homeDirectory)
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you
specify by their ARN.
|
ListedUser |
withRole(String role)
The role in use by this user.
|
ListedUser |
withSshPublicKeyCount(Integer sshPublicKeyCount)
This value is the number of SSH public keys stored for the user you specified.
|
ListedUser |
withUserName(String userName)
The name of the user whose ARN was specified.
|
public void setArn(String arn)
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
arn - This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.public String getArn()
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
public ListedUser withArn(String arn)
This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.
arn - This property is the unique Amazon Resource Name (ARN) for the user that you wish to learn about.public void setHomeDirectory(String homeDirectory)
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by their ARN.
homeDirectory - This value specifies the location that files are written to or read from an Amazon S3 bucket for the user
you specify by their ARN.public String getHomeDirectory()
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by their ARN.
public ListedUser withHomeDirectory(String homeDirectory)
This value specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by their ARN.
homeDirectory - This value specifies the location that files are written to or read from an Amazon S3 bucket for the user
you specify by their ARN.public void setRole(String role)
The role in use by this user. A role is an AWS Identity and Access Management (IAM) entity that in this case allows the SFTP server to act on a user's behalf. It allows the server to inherit the trust relationship that enables that user to perform file operations to their Amazon S3 bucket.
role - The role in use by this user. A role is an AWS Identity and Access Management (IAM) entity that in
this case allows the SFTP server to act on a user's behalf. It allows the server to inherit the trust
relationship that enables that user to perform file operations to their Amazon S3 bucket.public String getRole()
The role in use by this user. A role is an AWS Identity and Access Management (IAM) entity that in this case allows the SFTP server to act on a user's behalf. It allows the server to inherit the trust relationship that enables that user to perform file operations to their Amazon S3 bucket.
public ListedUser withRole(String role)
The role in use by this user. A role is an AWS Identity and Access Management (IAM) entity that in this case allows the SFTP server to act on a user's behalf. It allows the server to inherit the trust relationship that enables that user to perform file operations to their Amazon S3 bucket.
role - The role in use by this user. A role is an AWS Identity and Access Management (IAM) entity that in
this case allows the SFTP server to act on a user's behalf. It allows the server to inherit the trust
relationship that enables that user to perform file operations to their Amazon S3 bucket.public void setSshPublicKeyCount(Integer sshPublicKeyCount)
This value is the number of SSH public keys stored for the user you specified.
sshPublicKeyCount - This value is the number of SSH public keys stored for the user you specified.public Integer getSshPublicKeyCount()
This value is the number of SSH public keys stored for the user you specified.
public ListedUser withSshPublicKeyCount(Integer sshPublicKeyCount)
This value is the number of SSH public keys stored for the user you specified.
sshPublicKeyCount - This value is the number of SSH public keys stored for the user you specified.public void setUserName(String userName)
The name of the user whose ARN was specified. User names are used for authentication purposes.
userName - The name of the user whose ARN was specified. User names are used for authentication purposes.public String getUserName()
The name of the user whose ARN was specified. User names are used for authentication purposes.
public ListedUser withUserName(String userName)
The name of the user whose ARN was specified. User names are used for authentication purposes.
userName - The name of the user whose ARN was specified. User names are used for authentication purposes.public String toString()
toString in class ObjectObject.toString()public ListedUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.