@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()
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
|
String |
getHomeDirectory()
Specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by
their ARN.
|
String |
getHomeDirectoryType()
Specifies the type of landing directory (folder) you mapped for your users' home directory.
|
String |
getRole()
Specifies the role that is in use by this user.
|
Integer |
getSshPublicKeyCount()
Specifies the number of SSH public keys stored for the user you specified.
|
String |
getUserName()
Specifies the name of the user whose ARN was specified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
|
void |
setHomeDirectory(String homeDirectory)
Specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by
their ARN.
|
void |
setHomeDirectoryType(String homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory.
|
void |
setRole(String role)
Specifies the role that is in use by this user.
|
void |
setSshPublicKeyCount(Integer sshPublicKeyCount)
Specifies the number of SSH public keys stored for the user you specified.
|
void |
setUserName(String userName)
Specifies the name of the user whose ARN was specified.
|
String |
toString()
Returns a string representation of this object.
|
ListedUser |
withArn(String arn)
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
|
ListedUser |
withHomeDirectory(String homeDirectory)
Specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by
their ARN.
|
ListedUser |
withHomeDirectoryType(HomeDirectoryType homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory.
|
ListedUser |
withHomeDirectoryType(String homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory.
|
ListedUser |
withRole(String role)
Specifies the role that is in use by this user.
|
ListedUser |
withSshPublicKeyCount(Integer sshPublicKeyCount)
Specifies the number of SSH public keys stored for the user you specified.
|
ListedUser |
withUserName(String userName)
Specifies the name of the user whose ARN was specified.
|
public void setArn(String arn)
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
arn
- Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.public String getArn()
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
public ListedUser withArn(String arn)
Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.
arn
- Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.public void setHomeDirectory(String homeDirectory)
Specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by their ARN.
homeDirectory
- 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()
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)
Specifies the location that files are written to or read from an Amazon S3 bucket for the user you specify by their ARN.
homeDirectory
- 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 setHomeDirectoryType(String homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer protocol
clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.
homeDirectoryType
- Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it
to PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer
protocol clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.HomeDirectoryType
public String getHomeDirectoryType()
Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer protocol
clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.
PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer
protocol clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.HomeDirectoryType
public ListedUser withHomeDirectoryType(String homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer protocol
clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.
homeDirectoryType
- Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it
to PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer
protocol clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.HomeDirectoryType
public ListedUser withHomeDirectoryType(HomeDirectoryType homeDirectoryType)
Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer protocol
clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.
homeDirectoryType
- Specifies the type of landing directory (folder) you mapped for your users' home directory. If you set it
to PATH
, the user will see the absolute Amazon S3 bucket paths as is in their file transfer
protocol clients. If you set it LOGICAL
, you will need to provide mappings in the
HomeDirectoryMappings
for how you want to make Amazon S3 paths visible to your users.HomeDirectoryType
public void setRole(String role)
Specifies the role that is in use by this user. A role is an AWS Identity and Access Management (IAM) entity that, in this case, allows a file transfer protocol-enabled 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
- Specifies the role that is in use by this user. A role is an AWS Identity and Access Management
(IAM) entity that, in this case, allows a file transfer protocol-enabled 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()
Specifies the role that is in use by this user. A role is an AWS Identity and Access Management (IAM) entity that, in this case, allows a file transfer protocol-enabled 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)
Specifies the role that is in use by this user. A role is an AWS Identity and Access Management (IAM) entity that, in this case, allows a file transfer protocol-enabled 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
- Specifies the role that is in use by this user. A role is an AWS Identity and Access Management
(IAM) entity that, in this case, allows a file transfer protocol-enabled 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)
Specifies the number of SSH public keys stored for the user you specified.
sshPublicKeyCount
- Specifies the number of SSH public keys stored for the user you specified.public Integer getSshPublicKeyCount()
Specifies the number of SSH public keys stored for the user you specified.
public ListedUser withSshPublicKeyCount(Integer sshPublicKeyCount)
Specifies the number of SSH public keys stored for the user you specified.
sshPublicKeyCount
- Specifies the number of SSH public keys stored for the user you specified.public void setUserName(String userName)
Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.
userName
- Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.public String getUserName()
Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.
public ListedUser withUserName(String userName)
Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.
userName
- Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.public String toString()
toString
in class Object
Object.toString()
public ListedUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.