@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPermissionsRequest |
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 with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getResourceType()
Specifies the resource type for which to list permissions.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setResourceType(String resourceType)
Specifies the resource type for which to list permissions.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListPermissionsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
ListPermissionsRequest |
withResourceType(String resourceType)
Specifies the resource type for which to list permissions.
|
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 setResourceType(String resourceType)
Specifies the resource type for which to list permissions. For example, to list only permissions that apply to
EC2 subnets, specify ec2:Subnet
.
resourceType
- Specifies the resource type for which to list permissions. For example, to list only permissions that
apply to EC2 subnets, specify ec2:Subnet
.public String getResourceType()
Specifies the resource type for which to list permissions. For example, to list only permissions that apply to
EC2 subnets, specify ec2:Subnet
.
ec2:Subnet
.public ListPermissionsRequest withResourceType(String resourceType)
Specifies the resource type for which to list permissions. For example, to list only permissions that apply to
EC2 subnets, specify ec2:Subnet
.
resourceType
- Specifies the resource type for which to list permissions. For example, to list only permissions that
apply to EC2 subnets, specify ec2:Subnet
.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListPermissionsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public ListPermissionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public String toString()
toString
in class Object
Object.toString()
public ListPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()