@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()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getPrincipal()
The principal.
|
List<String> |
getResourceArns()
The Amazon Resource Names (ARN) of the resources.
|
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 |
setPrincipal(String principal)
The principal.
|
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcePoliciesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
GetResourcePoliciesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetResourcePoliciesRequest |
withPrincipal(String principal)
The principal.
|
GetResourcePoliciesRequest |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
GetResourcePoliciesRequest |
withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
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()
The Amazon Resource Names (ARN) of the resources.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns
- The Amazon Resource Names (ARN) of the resources.public GetResourcePoliciesRequest withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources.
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
- The Amazon Resource Names (ARN) of the resources.public GetResourcePoliciesRequest withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns
- The Amazon Resource Names (ARN) of the resources.public void setPrincipal(String principal)
The principal.
principal
- The principal.public String getPrincipal()
The principal.
public GetResourcePoliciesRequest withPrincipal(String principal)
The principal.
principal
- The principal.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 GetResourcePoliciesRequest 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 GetResourcePoliciesRequest 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 GetResourcePoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.