@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListAccessPoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListAccessPoliciesRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNextToken()
If your initial
ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page. |
List<String> |
getResource()
Resource filters (can be collection or indexes) that policies can apply to.
|
String |
getType()
The type of access policy.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
If your initial
ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page. |
void |
setResource(Collection<String> resource)
Resource filters (can be collection or indexes) that policies can apply to.
|
void |
setType(String type)
The type of access policy.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessPoliciesRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListAccessPoliciesRequest |
withNextToken(String nextToken)
If your initial
ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page. |
ListAccessPoliciesRequest |
withResource(Collection<String> resource)
Resource filters (can be collection or indexes) that policies can apply to.
|
ListAccessPoliciesRequest |
withResource(String... resource)
Resource filters (can be collection or indexes) that policies can apply to.
|
ListAccessPoliciesRequest |
withType(AccessPolicyType type)
The type of access policy.
|
ListAccessPoliciesRequest |
withType(String type)
The type of access policy.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
maxResults - An optional parameter that specifies the maximum number of results to return. You can use
nextToken to get the next page of results. The default is 20.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
nextToken to get the next page of results. The default is 20.public ListAccessPoliciesRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
maxResults - An optional parameter that specifies the maximum number of results to return. You can use
nextToken to get the next page of results. The default is 20.public void setNextToken(String nextToken)
If your initial ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page.
nextToken - If your initial ListAccessPolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListAccessPolicies operations,
which returns results in the next page.public String getNextToken()
If your initial ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page.
ListAccessPolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListAccessPolicies operations,
which returns results in the next page.public ListAccessPoliciesRequest withNextToken(String nextToken)
If your initial ListAccessPolicies operation returns a nextToken, you can include the
returned nextToken in subsequent ListAccessPolicies operations, which returns results
in the next page.
nextToken - If your initial ListAccessPolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListAccessPolicies operations,
which returns results in the next page.public List<String> getResource()
Resource filters (can be collection or indexes) that policies can apply to.
public void setResource(Collection<String> resource)
Resource filters (can be collection or indexes) that policies can apply to.
resource - Resource filters (can be collection or indexes) that policies can apply to.public ListAccessPoliciesRequest withResource(String... resource)
Resource filters (can be collection or indexes) that policies can apply to.
NOTE: This method appends the values to the existing list (if any). Use
setResource(java.util.Collection) or withResource(java.util.Collection) if you want to override
the existing values.
resource - Resource filters (can be collection or indexes) that policies can apply to.public ListAccessPoliciesRequest withResource(Collection<String> resource)
Resource filters (can be collection or indexes) that policies can apply to.
resource - Resource filters (can be collection or indexes) that policies can apply to.public void setType(String type)
The type of access policy.
type - The type of access policy.AccessPolicyTypepublic String getType()
The type of access policy.
AccessPolicyTypepublic ListAccessPoliciesRequest withType(String type)
The type of access policy.
type - The type of access policy.AccessPolicyTypepublic ListAccessPoliciesRequest withType(AccessPolicyType type)
The type of access policy.
type - The type of access policy.AccessPolicyTypepublic String toString()
toString in class ObjectObject.toString()public ListAccessPoliciesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.