@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessPoliciesResult |
clone() |
boolean |
equals(Object obj) |
List<AccessPolicySummary> |
getAccessPolicySummaries()
A list that summarizes each access policy.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setAccessPolicySummaries(Collection<AccessPolicySummary> accessPolicySummaries)
A list that summarizes each access policy.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessPoliciesResult |
withAccessPolicySummaries(AccessPolicySummary... accessPolicySummaries)
A list that summarizes each access policy.
|
ListAccessPoliciesResult |
withAccessPolicySummaries(Collection<AccessPolicySummary> accessPolicySummaries)
A list that summarizes each access policy.
|
ListAccessPoliciesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccessPolicySummary> getAccessPolicySummaries()
A list that summarizes each access policy.
public void setAccessPolicySummaries(Collection<AccessPolicySummary> accessPolicySummaries)
A list that summarizes each access policy.
accessPolicySummaries
- A list that summarizes each access policy.public ListAccessPoliciesResult withAccessPolicySummaries(AccessPolicySummary... accessPolicySummaries)
A list that summarizes each access policy.
NOTE: This method appends the values to the existing list (if any). Use
setAccessPolicySummaries(java.util.Collection)
or
withAccessPolicySummaries(java.util.Collection)
if you want to override the existing values.
accessPolicySummaries
- A list that summarizes each access policy.public ListAccessPoliciesResult withAccessPolicySummaries(Collection<AccessPolicySummary> accessPolicySummaries)
A list that summarizes each access policy.
accessPolicySummaries
- A list that summarizes each access policy.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListAccessPoliciesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListAccessPoliciesResult clone()