Package com.amazonaws.services.iot.model
Class ListPoliciesResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.ListPoliciesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListPoliciesResult extends Object implements Serializable, Cloneable
The output from the ListPolicies operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPoliciesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Policy... policies)
The descriptions of the policies.ListPoliciesResult
withPolicies(Collection<Policy> policies)
The descriptions of the policies.
-
-
-
Method Detail
-
getPolicies
public List<Policy> getPolicies()
The descriptions of the policies.
- Returns:
- The descriptions of the policies.
-
setPolicies
public void setPolicies(Collection<Policy> policies)
The descriptions of the policies.
- Parameters:
policies
- The descriptions of the policies.
-
withPolicies
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)
orwithPolicies(java.util.Collection)
if you want to override the existing values.- Parameters:
policies
- The descriptions of the policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicies
public ListPoliciesResult withPolicies(Collection<Policy> policies)
The descriptions of the policies.
- Parameters:
policies
- The descriptions of the policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextMarker
public void setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
- Parameters:
nextMarker
- The marker for the next set of results, or null if there are no additional results.
-
getNextMarker
public String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
- Returns:
- The marker for the next set of results, or null if there are no additional results.
-
withNextMarker
public ListPoliciesResult withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
- Parameters:
nextMarker
- The marker for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPoliciesResult clone()
-
-