@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAccountPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAccountPermissionsRequest |
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 the response can return.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
String |
getService()
The service scan type to check permissions for.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results the response can return.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
void |
setService(String service)
The service scan type to check permissions for.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountPermissionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results the response can return.
|
ListAccountPermissionsRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
ListAccountPermissionsRequest |
withService(Service service)
The service scan type to check permissions for.
|
ListAccountPermissionsRequest |
withService(String service)
The service scan type to check permissions for.
|
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 the response can return. If your request would return more than the maximum the
response will return a nextToken
value, use this value when you call the action again to get the
remaining results.
maxResults
- The maximum number of results the response can return. If your request would return more than the maximum
the response will return a nextToken
value, use this value when you call the action again to
get the remaining results.public Integer getMaxResults()
The maximum number of results the response can return. If your request would return more than the maximum the
response will return a nextToken
value, use this value when you call the action again to get the
remaining results.
nextToken
value, use this value when you call the action again to
get the remaining results.public ListAccountPermissionsRequest withMaxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the
response will return a nextToken
value, use this value when you call the action again to get the
remaining results.
maxResults
- The maximum number of results the response can return. If your request would return more than the maximum
the response will return a nextToken
value, use this value when you call the action again to
get the remaining 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 to a list action. If your response returns more than the maxResults
maximum
value it will also return a nextToken
value. 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 to a list action. If your response returns more than the
maxResults
maximum value it will also return a nextToken
value. 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 to a list action. If your response returns more than the maxResults
maximum
value it will also return a nextToken
value. For subsequent calls, use the NextToken value returned
from the previous request to continue listing results after the first page.
maxResults
maximum value it will also return a nextToken
value. For subsequent
calls, use the NextToken value returned from the previous request to continue listing results after the
first page.public ListAccountPermissionsRequest 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 to a list action. If your response returns more than the maxResults
maximum
value it will also return a nextToken
value. 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 to a list action. If your response returns more than the
maxResults
maximum value it will also return a nextToken
value. For subsequent
calls, use the NextToken value returned from the previous request to continue listing results after the
first page.public void setService(String service)
The service scan type to check permissions for.
service
- The service scan type to check permissions for.Service
public String getService()
The service scan type to check permissions for.
Service
public ListAccountPermissionsRequest withService(String service)
The service scan type to check permissions for.
service
- The service scan type to check permissions for.Service
public ListAccountPermissionsRequest withService(Service service)
The service scan type to check permissions for.
service
- The service scan type to check permissions for.Service
public String toString()
toString
in class Object
Object.toString()
public ListAccountPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()