public class DescribeResourcePoliciesResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeResourcePoliciesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.util.List<ResourcePolicy> |
getResourcePolicies()
The resource policies that exist in this account.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setResourcePolicies(java.util.Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeResourcePoliciesResult |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribeResourcePoliciesResult |
withResourcePolicies(java.util.Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
|
DescribeResourcePoliciesResult |
withResourcePolicies(ResourcePolicy... resourcePolicies)
The resource policies that exist in this account.
|
public java.util.List<ResourcePolicy> getResourcePolicies()
The resource policies that exist in this account.
The resource policies that exist in this account.
public void setResourcePolicies(java.util.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.
Returns a reference to this object so that method calls can be chained together.
resourcePolicies
- The resource policies that exist in this account.
public DescribeResourcePoliciesResult withResourcePolicies(java.util.Collection<ResourcePolicy> resourcePolicies)
The resource policies that exist in this account.
Returns a reference to this object so that method calls can be chained together.
resourcePolicies
- The resource policies that exist in this account.
public java.lang.String getNextToken()
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
The token for the next set of items to return. The token expires after 24 hours.
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public DescribeResourcePoliciesResult withNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.