public class ListPoliciesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output from the ListPolicies operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextMarker
The marker for the next set of results, or null if there are no
additional results.
|
private java.util.List<Policy> |
policies
The descriptions of the policies.
|
Constructor and Description |
---|
ListPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesResult |
clone() |
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 descriptions of 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 descriptions of the policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPoliciesResult |
withNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPoliciesResult |
withPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
|
ListPoliciesResult |
withPolicies(Policy... policies)
The descriptions of the policies.
|
private java.util.List<Policy> policies
The descriptions of the policies.
private java.lang.String nextMarker
The marker for the next set of results, or null if there are no additional results.
public java.util.List<Policy> getPolicies()
The descriptions of the policies.
public void setPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
policies
- The descriptions of the policies.public ListPoliciesResult withPolicies(Policy... policies)
The descriptions of 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 descriptions of the policies.public ListPoliciesResult withPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
policies
- The descriptions of the policies.public void setNextMarker(java.lang.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 java.lang.String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
public ListPoliciesResult withNextMarker(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListPoliciesResult clone()
clone
in class java.lang.Object