public class ListPrincipalPoliciesResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListPrincipalPolicies operation.
| Constructor and Description |
|---|
ListPrincipalPoliciesResult() |
| 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<Policy> |
getPolicies()
The policies.
|
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 |
setPolicies(java.util.Collection<Policy> policies)
The policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalPoliciesResult |
withNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPrincipalPoliciesResult |
withPolicies(java.util.Collection<Policy> policies)
The policies.
|
ListPrincipalPoliciesResult |
withPolicies(Policy... policies)
The policies.
|
public java.util.List<Policy> getPolicies()
The policies.
The policies.
public void setPolicies(java.util.Collection<Policy> policies)
The policies.
policies - The policies.
public ListPrincipalPoliciesResult withPolicies(Policy... policies)
The policies.
Returns a reference to this object so that method calls can be chained together.
policies - The policies.
public ListPrincipalPoliciesResult withPolicies(java.util.Collection<Policy> policies)
The policies.
Returns a reference to this object so that method calls can be chained together.
policies - The policies.
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 ListPrincipalPoliciesResult 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.