@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcePoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourcePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListResourcePoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Pagination token.
|
List<ResourcePolicy> |
getResourcePolicies()
The list of resource policies in the target Amazon Web Services account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Pagination token.
|
void |
setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The list of resource policies in the target Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcePoliciesResult |
withNextToken(String nextToken)
Pagination token.
|
ListResourcePoliciesResult |
withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The list of resource policies in the target Amazon Web Services account.
|
ListResourcePoliciesResult |
withResourcePolicies(ResourcePolicy... resourcePolicies)
The list of resource policies in the target Amazon Web Services account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourcePolicy> getResourcePolicies()
The list of resource policies in the target Amazon Web Services account.
public void setResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The list of resource policies in the target Amazon Web Services account.
resourcePolicies
- The list of resource policies in the target Amazon Web Services account.public ListResourcePoliciesResult withResourcePolicies(ResourcePolicy... resourcePolicies)
The list of resource policies in the target Amazon Web Services 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 list of resource policies in the target Amazon Web Services account.public ListResourcePoliciesResult withResourcePolicies(Collection<ResourcePolicy> resourcePolicies)
The list of resource policies in the target Amazon Web Services account.
resourcePolicies
- The list of resource policies in the target Amazon Web Services account.public void setNextToken(String nextToken)
Pagination token. Not currently supported.
nextToken
- Pagination token. Not currently supported.public String getNextToken()
Pagination token. Not currently supported.
public ListResourcePoliciesResult withNextToken(String nextToken)
Pagination token. Not currently supported.
nextToken
- Pagination token. Not currently supported.public String toString()
toString
in class Object
Object.toString()
public ListResourcePoliciesResult clone()