@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListPolicies operation.
Constructor and Description |
---|
ListPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListPoliciesResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Policy> getPolicies()
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.
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(Collection<Policy> policies)
The descriptions of the policies.
policies
- The descriptions of the policies.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 String getNextMarker()
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.
nextMarker
- The marker for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListPoliciesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.