@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListScansRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListScansRequest() |
Modifier and Type | Method and Description |
---|---|
ListScansRequest |
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 return in the response.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListScansRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
ListScansRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned 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)
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken
element is returned in the
response. Use nextToken
in a subsequent request to retrieve additional results. If not specified,
returns 100 results.
maxResults
- The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken
element is returned in
the response. Use nextToken
in a subsequent request to retrieve additional results. If not
specified, returns 100 results.public Integer getMaxResults()
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken
element is returned in the
response. Use nextToken
in a subsequent request to retrieve additional results. If not specified,
returns 100 results.
nextToken
element is returned in
the response. Use nextToken
in a subsequent request to retrieve additional results. If not
specified, returns 100 results.public ListScansRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken
element is returned in the
response. Use nextToken
in a subsequent request to retrieve additional results. If not specified,
returns 100 results.
maxResults
- The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the nextToken
element is returned in
the response. Use nextToken
in a subsequent request to retrieve additional results. If not
specified, returns 100 results.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken
value returned from the previous
request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request. For subsequent calls, use the nextToken
value returned from
the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken
value returned from the previous
request to continue listing results after the first page.
nextToken
value returned from
the previous request to continue listing results after the first page.public ListScansRequest withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request. For subsequent calls, use the nextToken
value returned from the previous
request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request. For subsequent calls, use the nextToken
value returned from
the previous request to continue listing results after the first page.public String toString()
toString
in class Object
Object.toString()
public ListScansRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()