@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetResourcePoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
GetResourcePoliciesRequest |
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 |
getPrincipal()
Specifies the principal.
|
List<String> |
getResourceArns()
Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.
|
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 |
setPrincipal(String principal)
Specifies the principal.
|
void |
setResourceArns(Collection<String> resourceArns)
Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcePoliciesRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
GetResourcePoliciesRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
GetResourcePoliciesRequest |
withPrincipal(String principal)
Specifies the principal.
|
GetResourcePoliciesRequest |
withResourceArns(Collection<String> resourceArns)
Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.
|
GetResourcePoliciesRequest |
withResourceArns(String... resourceArns)
Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.
|
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 List<String> getResourceArns()
Specifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.
public void setResourceArns(Collection<String> resourceArns)
Specifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.
resourceArns
- Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.public GetResourcePoliciesRequest withResourceArns(String... resourceArns)
Specifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.public GetResourcePoliciesRequest withResourceArns(Collection<String> resourceArns)
Specifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.
resourceArns
- Specifies the Amazon
Resource Names (ARNs) of the resources whose policies you want to retrieve.public void setPrincipal(String principal)
Specifies the principal.
principal
- Specifies the principal.public String getPrincipal()
Specifies the principal.
public GetResourcePoliciesRequest withPrincipal(String principal)
Specifies the principal.
principal
- Specifies the principal.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 GetResourcePoliciesRequest 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 GetResourcePoliciesRequest 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 GetResourcePoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()