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()
The descriptions of the policies.
The descriptions of the policies.
public void setPolicies(Collection<Policy> policies)
The descriptions of the policies.
policies - The descriptions of the policies.
public ListPoliciesResult withPolicies(Policy... policies)
The descriptions of the 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)
The descriptions of the policies.
Returns a reference to this object so that method calls can be chained together.
policies - The descriptions of the policies.
public String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
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.
nextMarker - The marker for the next set of results, or null if there are no additional results.
public ListPoliciesResult 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.
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 © 2017. All rights reserved.