@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSharedDirectoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeSharedDirectoriesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSharedDirectoriesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The number of shared directories to return in the response object.
|
String |
getNextToken()
The
DescribeSharedDirectoriesResult.NextToken value from a previous call to
DescribeSharedDirectories. |
String |
getOwnerDirectoryId()
Returns the identifier of the directory in the directory owner account.
|
List<String> |
getSharedDirectoryIds()
A list of identifiers of all shared directories in your account.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The number of shared directories to return in the response object.
|
void |
setNextToken(String nextToken)
The
DescribeSharedDirectoriesResult.NextToken value from a previous call to
DescribeSharedDirectories. |
void |
setOwnerDirectoryId(String ownerDirectoryId)
Returns the identifier of the directory in the directory owner account.
|
void |
setSharedDirectoryIds(Collection<String> sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSharedDirectoriesRequest |
withLimit(Integer limit)
The number of shared directories to return in the response object.
|
DescribeSharedDirectoriesRequest |
withNextToken(String nextToken)
The
DescribeSharedDirectoriesResult.NextToken value from a previous call to
DescribeSharedDirectories. |
DescribeSharedDirectoriesRequest |
withOwnerDirectoryId(String ownerDirectoryId)
Returns the identifier of the directory in the directory owner account.
|
DescribeSharedDirectoriesRequest |
withSharedDirectoryIds(Collection<String> sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
|
DescribeSharedDirectoriesRequest |
withSharedDirectoryIds(String... sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOwnerDirectoryId(String ownerDirectoryId)
Returns the identifier of the directory in the directory owner account.
ownerDirectoryId
- Returns the identifier of the directory in the directory owner account.public String getOwnerDirectoryId()
Returns the identifier of the directory in the directory owner account.
public DescribeSharedDirectoriesRequest withOwnerDirectoryId(String ownerDirectoryId)
Returns the identifier of the directory in the directory owner account.
ownerDirectoryId
- Returns the identifier of the directory in the directory owner account.public List<String> getSharedDirectoryIds()
A list of identifiers of all shared directories in your account.
public void setSharedDirectoryIds(Collection<String> sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
sharedDirectoryIds
- A list of identifiers of all shared directories in your account.public DescribeSharedDirectoriesRequest withSharedDirectoryIds(String... sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
NOTE: This method appends the values to the existing list (if any). Use
setSharedDirectoryIds(java.util.Collection)
or withSharedDirectoryIds(java.util.Collection)
if
you want to override the existing values.
sharedDirectoryIds
- A list of identifiers of all shared directories in your account.public DescribeSharedDirectoriesRequest withSharedDirectoryIds(Collection<String> sharedDirectoryIds)
A list of identifiers of all shared directories in your account.
sharedDirectoryIds
- A list of identifiers of all shared directories in your account.public void setNextToken(String nextToken)
The DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.
nextToken
- The DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.public String getNextToken()
The DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.
DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.public DescribeSharedDirectoriesRequest withNextToken(String nextToken)
The DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.
nextToken
- The DescribeSharedDirectoriesResult.NextToken
value from a previous call to
DescribeSharedDirectories. Pass null if this is the first call.public void setLimit(Integer limit)
The number of shared directories to return in the response object.
limit
- The number of shared directories to return in the response object.public Integer getLimit()
The number of shared directories to return in the response object.
public DescribeSharedDirectoriesRequest withLimit(Integer limit)
The number of shared directories to return in the response object.
limit
- The number of shared directories to return in the response object.public String toString()
toString
in class Object
Object.toString()
public DescribeSharedDirectoriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()