public class ListPrincipalPoliciesResult extends Object implements Serializable, Cloneable
The output from the ListPrincipalPolicies operation.
Constructor and Description |
---|
ListPrincipalPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListPrincipalPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
The marker for the next set of results, or null if there are no
additional results.
|
List<Policy> |
getPolicies()
The policies.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
void |
setPolicies(Collection<Policy> policies)
The policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalPoliciesResult |
withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPrincipalPoliciesResult |
withPolicies(Collection<Policy> policies)
The policies.
|
ListPrincipalPoliciesResult |
withPolicies(Policy... policies)
The policies.
|
public void setPolicies(Collection<Policy> policies)
The policies.
policies
- The policies.public ListPrincipalPoliciesResult withPolicies(Policy... policies)
The policies.
NOTE: This method appends the values to the existing list (if
any). Use setPolicies(java.util.Collection)
or
withPolicies(java.util.Collection)
if you want to override the
existing values.
policies
- The policies.public ListPrincipalPoliciesResult withPolicies(Collection<Policy> policies)
The policies.
policies
- The policies.public void setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
nextMarker
- The marker for the next set of results, or null if there are no
additional results.public String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
public ListPrincipalPoliciesResult withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
nextMarker
- The marker for the next set of results, or null if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListPrincipalPoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.