@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDirectoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListDirectoriesRequest() |
Modifier and Type | Method and Description |
---|---|
ListDirectoriesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to retrieve.
|
String |
getNextToken()
The pagination token.
|
String |
getState()
The state of the directories in the list.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to retrieve.
|
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setState(DirectoryState state)
The state of the directories in the list.
|
void |
setState(String state)
The state of the directories in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDirectoriesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
|
ListDirectoriesRequest |
withNextToken(String nextToken)
The pagination token.
|
ListDirectoriesRequest |
withState(DirectoryState state)
The state of the directories in the list.
|
ListDirectoriesRequest |
withState(String state)
The state of the directories in the list.
|
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 setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public ListDirectoriesRequest withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public void setMaxResults(Integer maxResults)
The maximum number of results to retrieve.
maxResults
- The maximum number of results to retrieve.public Integer getMaxResults()
The maximum number of results to retrieve.
public ListDirectoriesRequest withMaxResults(Integer maxResults)
The maximum number of results to retrieve.
maxResults
- The maximum number of results to retrieve.public void setState(String state)
The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
state
- The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.DirectoryState
public String getState()
The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
DirectoryState
public ListDirectoriesRequest withState(String state)
The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
state
- The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.DirectoryState
public void setState(DirectoryState state)
The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
state
- The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.DirectoryState
public ListDirectoriesRequest withState(DirectoryState state)
The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
state
- The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.DirectoryState
public String toString()
toString
in class Object
Object.toString()
public ListDirectoriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.