Package com.amazonaws.services.iot.model
Class ListPoliciesResult
java.lang.Object
com.amazonaws.services.iot.model.ListPoliciesResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output from the ListPolicies operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The marker for the next set of results, or null if there are no additional results.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNextMarker
(String nextMarker) The marker for the next set of results, or null if there are no additional results.withPolicies
(Policy... policies) The descriptions of the policies.withPolicies
(Collection<Policy> policies) The descriptions of the policies.
-
Constructor Details
-
ListPoliciesResult
public ListPoliciesResult()
-
-
Method Details
-
getPolicies
The descriptions of the policies.
- Returns:
- The descriptions of the policies.
-
setPolicies
The descriptions of the policies.
- Parameters:
policies
- The descriptions of the policies.
-
withPolicies
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-