@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessGrantsInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAccessGrantsInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAccessGrantsInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account that is making this request.
|
Integer |
getMaxResults()
The maximum number of access grants that you would like returned in the
List Access Grants response. |
String |
getNextToken()
A pagination token to request the next page of results.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
void |
setMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the
List Access Grants response. |
void |
setNextToken(String nextToken)
A pagination token to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessGrantsInstancesRequest |
withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
ListAccessGrantsInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the
List Access Grants response. |
ListAccessGrantsInstancesRequest |
withNextToken(String nextToken)
A pagination token to request the next page of results.
|
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 setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public String getAccountId()
The ID of the Amazon Web Services account that is making this request.
public ListAccessGrantsInstancesRequest withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public void setNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.public String getNextToken()
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
List Access Grants Instances
request in order to retrieve the next page of results.public ListAccessGrantsInstancesRequest withNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
maxResults
- The maximum number of access grants that you would like returned in the List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public Integer getMaxResults()
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public ListAccessGrantsInstancesRequest withMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
maxResults
- The maximum number of access grants that you would like returned in the List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public String toString()
toString
in class Object
Object.toString()
public ListAccessGrantsInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()