@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPermissionVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPermissionVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specifies the total number of results that you want included on each page of the response.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
String |
getPermissionArn()
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
void |
setPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionVersionsRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
ListPermissionVersionsRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListPermissionVersionsRequest |
withPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list.
|
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 setPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission operation to specify a
non-default version to attach.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission operation to
specify a non-default version to attach.public String getPermissionArn()
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission operation to specify a
non-default version to attach.
permissionVersion
parameter on the AssociateResourceSharePermission operation to
specify a non-default version to attach.public ListPermissionVersionsRequest withPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission operation to specify a
non-default version to attach.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission operation to
specify a non-default version to attach.public void setNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String getNextToken()
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.public ListPermissionVersionsRequest withNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public void setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public Integer getMaxResults()
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.public ListPermissionVersionsRequest withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public String toString()
toString
in class Object
Object.toString()
public ListPermissionVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()