public class ListPolicyPrincipalsResult extends Object implements Serializable
The output from the ListPolicyPrincipals operation.
Constructor and Description |
---|
ListPolicyPrincipalsResult() |
Modifier and Type | Method and Description |
---|---|
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.
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.
Returns a reference to this object so that method calls can be chained together.
principals
- The descriptions of the principals.
public ListPolicyPrincipalsResult withPrincipals(Collection<String> principals)
The descriptions of the principals.
Returns a reference to this object so that method calls can be chained together.
principals
- The descriptions of the principals.
public String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
The marker for the next set of results, or null if there are no additional results.
public void setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
nextMarker
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
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()
Copyright © 2019. All rights reserved.