public class ListPoliciesResult extends Object implements Serializable
The output from the ListPolicies operation.
| Constructor and Description |
|---|
ListPoliciesResult() |
| 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<Policy> |
getPolicies()
The descriptions of the policies.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
void |
setPolicies(Collection<Policy> policies)
The descriptions of the policies.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPoliciesResult |
withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPoliciesResult |
withPolicies(Collection<Policy> policies)
The descriptions of the policies.
|
ListPoliciesResult |
withPolicies(Policy... policies)
The descriptions of the policies.
|
public List<Policy> getPolicies()
public void setPolicies(Collection<Policy> policies)
policies - The descriptions of the policies.public ListPoliciesResult withPolicies(Policy... policies)
Returns a reference to this object so that method calls can be chained together.
policies - The descriptions of the policies.public ListPoliciesResult withPolicies(Collection<Policy> policies)
Returns a reference to this object so that method calls can be chained together.
policies - The descriptions of the policies.public String getNextMarker()
public void setNextMarker(String nextMarker)
nextMarker - The marker for the next set of results, or null if there are no
additional results.public ListPoliciesResult withNextMarker(String nextMarker)
Returns a reference to this object so that method calls can be chained together.
nextMarker - The marker for the next set of results, or null if there are no
additional results.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.