@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListUsersResult() |
| Modifier and Type | Method and Description |
|---|---|
ListUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When you can get additional results from the
ListUsers call, a NextToken parameter is
returned in the output. |
String |
getServerId()
A system-assigned unique identifier for an SFTP server that the users are assigned to.
|
List<ListedUser> |
getUsers()
Returns the user accounts and their properties for the
ServerId value that you specify. |
int |
hashCode() |
void |
setNextToken(String nextToken)
When you can get additional results from the
ListUsers call, a NextToken parameter is
returned in the output. |
void |
setServerId(String serverId)
A system-assigned unique identifier for an SFTP server that the users are assigned to.
|
void |
setUsers(Collection<ListedUser> users)
Returns the user accounts and their properties for the
ServerId value that you specify. |
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withNextToken(String nextToken)
When you can get additional results from the
ListUsers call, a NextToken parameter is
returned in the output. |
ListUsersResult |
withServerId(String serverId)
A system-assigned unique identifier for an SFTP server that the users are assigned to.
|
ListUsersResult |
withUsers(Collection<ListedUser> users)
Returns the user accounts and their properties for the
ServerId value that you specify. |
ListUsersResult |
withUsers(ListedUser... users)
Returns the user accounts and their properties for the
ServerId value that you specify. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
When you can get additional results from the ListUsers call, a NextToken parameter is
returned in the output. You can then pass in a subsequent command the NextToken parameter to
continue listing additional users.
nextToken - When you can get additional results from the ListUsers call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional users.public String getNextToken()
When you can get additional results from the ListUsers call, a NextToken parameter is
returned in the output. You can then pass in a subsequent command the NextToken parameter to
continue listing additional users.
ListUsers call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional users.public ListUsersResult withNextToken(String nextToken)
When you can get additional results from the ListUsers call, a NextToken parameter is
returned in the output. You can then pass in a subsequent command the NextToken parameter to
continue listing additional users.
nextToken - When you can get additional results from the ListUsers call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional users.public void setServerId(String serverId)
A system-assigned unique identifier for an SFTP server that the users are assigned to.
serverId - A system-assigned unique identifier for an SFTP server that the users are assigned to.public String getServerId()
A system-assigned unique identifier for an SFTP server that the users are assigned to.
public ListUsersResult withServerId(String serverId)
A system-assigned unique identifier for an SFTP server that the users are assigned to.
serverId - A system-assigned unique identifier for an SFTP server that the users are assigned to.public List<ListedUser> getUsers()
Returns the user accounts and their properties for the ServerId value that you specify.
ServerId value that you specify.public void setUsers(Collection<ListedUser> users)
Returns the user accounts and their properties for the ServerId value that you specify.
users - Returns the user accounts and their properties for the ServerId value that you specify.public ListUsersResult withUsers(ListedUser... users)
Returns the user accounts and their properties for the ServerId value that you specify.
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection) or withUsers(java.util.Collection) if you want to override the
existing values.
users - Returns the user accounts and their properties for the ServerId value that you specify.public ListUsersResult withUsers(Collection<ListedUser> users)
Returns the user accounts and their properties for the ServerId value that you specify.
users - Returns the user accounts and their properties for the ServerId value that you specify.public String toString()
toString in class ObjectObject.toString()public ListUsersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.