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