@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDirectoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDirectoriesResult() |
Modifier and Type | Method and Description |
---|---|
ListDirectoriesResult |
clone() |
boolean |
equals(Object obj) |
List<Directory> |
getDirectories()
Lists all directories that are associated with your account in pagination fashion.
|
String |
getNextToken()
The pagination token.
|
int |
hashCode() |
void |
setDirectories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
|
void |
setNextToken(String nextToken)
The pagination token.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDirectoriesResult |
withDirectories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
|
ListDirectoriesResult |
withDirectories(Directory... directories)
Lists all directories that are associated with your account in pagination fashion.
|
ListDirectoriesResult |
withNextToken(String nextToken)
The pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Directory> getDirectories()
Lists all directories that are associated with your account in pagination fashion.
public void setDirectories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
directories
- Lists all directories that are associated with your account in pagination fashion.public ListDirectoriesResult withDirectories(Directory... directories)
Lists all directories that are associated with your account in pagination fashion.
NOTE: This method appends the values to the existing list (if any). Use
setDirectories(java.util.Collection)
or withDirectories(java.util.Collection)
if you want to
override the existing values.
directories
- Lists all directories that are associated with your account in pagination fashion.public ListDirectoriesResult withDirectories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
directories
- Lists all directories that are associated with your account in pagination fashion.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public ListDirectoriesResult withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public ListDirectoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.