@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourcePoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResourcePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResourcePoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken() |
List<ResourcePolicy> |
getResourcePolicies()
The resource policies that exist in this account.
|
int |
hashCode() |
void |
setNextToken(String nextToken) |
void |
setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeResourcePoliciesResult |
withNextToken(String nextToken) |
DescribeResourcePoliciesResult |
withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
|
DescribeResourcePoliciesResult |
withResourcePolicies(ResourcePolicy... resourcePolicies)
The resource policies that exist in this account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourcePolicy> getResourcePolicies()
The resource policies that exist in this account.
public void setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
resourcePolicies
- The resource policies that exist in this account.public DescribeResourcePoliciesResult withResourcePolicies(ResourcePolicy... resourcePolicies)
The resource policies that exist in this account.
NOTE: This method appends the values to the existing list (if any). Use
setResourcePolicies(java.util.Collection)
or withResourcePolicies(java.util.Collection)
if you
want to override the existing values.
resourcePolicies
- The resource policies that exist in this account.public DescribeResourcePoliciesResult withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
resourcePolicies
- The resource policies that exist in this account.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribeResourcePoliciesResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribeResourcePoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.