@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListAgentsRequest
NOOP
Constructor and Description |
---|
ListAgentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAgentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specifies the maximum number of DataSync agents to list in a response.
|
String |
getNextToken()
Specifies an opaque string that indicates the position to begin the next list of results in the response.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the maximum number of DataSync agents to list in a response.
|
void |
setNextToken(String nextToken)
Specifies an opaque string that indicates the position to begin the next list of results in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListAgentsRequest |
withMaxResults(Integer maxResults)
Specifies the maximum number of DataSync agents to list in a response.
|
ListAgentsRequest |
withNextToken(String nextToken)
Specifies an opaque string that indicates the position to begin the next list of results in the response.
|
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 setMaxResults(Integer maxResults)
Specifies the maximum number of DataSync agents to list in a response. By default, a response shows a maximum of 100 agents.
maxResults
- Specifies the maximum number of DataSync agents to list in a response. By default, a response shows a
maximum of 100 agents.public Integer getMaxResults()
Specifies the maximum number of DataSync agents to list in a response. By default, a response shows a maximum of 100 agents.
public ListAgentsRequest withMaxResults(Integer maxResults)
Specifies the maximum number of DataSync agents to list in a response. By default, a response shows a maximum of 100 agents.
maxResults
- Specifies the maximum number of DataSync agents to list in a response. By default, a response shows a
maximum of 100 agents.public void setNextToken(String nextToken)
Specifies an opaque string that indicates the position to begin the next list of results in the response.
nextToken
- Specifies an opaque string that indicates the position to begin the next list of results in the response.public String getNextToken()
Specifies an opaque string that indicates the position to begin the next list of results in the response.
public ListAgentsRequest withNextToken(String nextToken)
Specifies an opaque string that indicates the position to begin the next list of results in the response.
nextToken
- Specifies an opaque string that indicates the position to begin the next list of results in the response.public String toString()
toString
in class Object
Object.toString()
public ListAgentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()