@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSharedDirectoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSharedDirectoriesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSharedDirectoriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If not null, token that indicates that more results are available.
|
List<SharedDirectory> |
getSharedDirectories()
A list of all shared directories in your account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If not null, token that indicates that more results are available.
|
void |
setSharedDirectories(Collection<SharedDirectory> sharedDirectories)
A list of all shared directories in your account.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSharedDirectoriesResult |
withNextToken(String nextToken)
If not null, token that indicates that more results are available.
|
DescribeSharedDirectoriesResult |
withSharedDirectories(Collection<SharedDirectory> sharedDirectories)
A list of all shared directories in your account.
|
DescribeSharedDirectoriesResult |
withSharedDirectories(SharedDirectory... sharedDirectories)
A list of all shared directories in your account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SharedDirectory> getSharedDirectories()
A list of all shared directories in your account.
public void setSharedDirectories(Collection<SharedDirectory> sharedDirectories)
A list of all shared directories in your account.
sharedDirectories
- A list of all shared directories in your account.public DescribeSharedDirectoriesResult withSharedDirectories(SharedDirectory... sharedDirectories)
A list of all shared directories in your account.
NOTE: This method appends the values to the existing list (if any). Use
setSharedDirectories(java.util.Collection)
or withSharedDirectories(java.util.Collection)
if
you want to override the existing values.
sharedDirectories
- A list of all shared directories in your account.public DescribeSharedDirectoriesResult withSharedDirectories(Collection<SharedDirectory> sharedDirectories)
A list of all shared directories in your account.
sharedDirectories
- A list of all shared directories in your account.public void setNextToken(String nextToken)
If not null, token that indicates that more results are available. Pass this value for the NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.
nextToken
- If not null, token that indicates that more results are available. Pass this value for the
NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the
next set of items.public String getNextToken()
If not null, token that indicates that more results are available. Pass this value for the NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.
NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the
next set of items.public DescribeSharedDirectoriesResult withNextToken(String nextToken)
If not null, token that indicates that more results are available. Pass this value for the NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.
nextToken
- If not null, token that indicates that more results are available. Pass this value for the
NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the
next set of items.public String toString()
toString
in class Object
Object.toString()
public DescribeSharedDirectoriesResult clone()