public class ListPolicyPrincipalsResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListPolicyPrincipals operation.
| Constructor and Description |
|---|
ListPolicyPrincipalsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextMarker()
The marker for the next set of results, or null if there are no
additional results.
|
java.util.List<java.lang.String> |
getPrincipals()
The descriptions of the principals.
|
int |
hashCode() |
void |
setNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
void |
setPrincipals(java.util.Collection<java.lang.String> principals)
The descriptions of the principals.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPolicyPrincipalsResult |
withNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPolicyPrincipalsResult |
withPrincipals(java.util.Collection<java.lang.String> principals)
The descriptions of the principals.
|
ListPolicyPrincipalsResult |
withPrincipals(java.lang.String... principals)
The descriptions of the principals.
|
public java.util.List<java.lang.String> getPrincipals()
The descriptions of the principals.
The descriptions of the principals.
public void setPrincipals(java.util.Collection<java.lang.String> principals)
The descriptions of the principals.
principals - The descriptions of the principals.
public ListPolicyPrincipalsResult withPrincipals(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
Constraints:
Length: - 1024
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(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no additional results.
Constraints:
Length: - 1024
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(java.lang.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:
Length: - 1024
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.