@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
PolicyFilter |
getFilter()
Specifies a filter that limits the response to only policies that match the specified criteria.
|
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 |
getPolicyStoreId()
Specifies the ID of the policy store you want to list policies from.
|
int |
hashCode() |
void |
setFilter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria.
|
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 |
setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
|
String |
toString()
Returns a string representation of this object.
|
ListPoliciesRequest |
withFilter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria.
|
ListPoliciesRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
ListPoliciesRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListPoliciesRequest |
withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
|
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 setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
policyStoreId
- Specifies the ID of the policy store you want to list policies from.public String getPolicyStoreId()
Specifies the ID of the policy store you want to list policies from.
public ListPoliciesRequest withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
policyStoreId
- Specifies the ID of the policy store you want to list policies from.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 ListPoliciesRequest 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 ListPoliciesRequest 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 void setFilter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
filter
- Specifies a filter that limits the response to only policies that match the specified criteria. For
example, you list only the policies that reference a specified principal.public PolicyFilter getFilter()
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
public ListPoliciesRequest withFilter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
filter
- Specifies a filter that limits the response to only policies that match the specified criteria. For
example, you list only the policies that reference a specified principal.public String toString()
toString
in class Object
Object.toString()
public ListPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()