Package com.amazonaws.services.iot.model
Class ListPrincipalPoliciesResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.ListPrincipalPoliciesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListPrincipalPoliciesResult extends Object implements Serializable, Cloneable
The output from the ListPrincipalPolicies operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPrincipalPoliciesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrincipalPoliciesResultclone()booleanequals(Object obj)StringgetNextMarker()The marker for the next set of results, or null if there are no additional results.List<Policy>getPolicies()The policies.inthashCode()voidsetNextMarker(String nextMarker)The marker for the next set of results, or null if there are no additional results.voidsetPolicies(Collection<Policy> policies)The policies.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListPrincipalPoliciesResultwithNextMarker(String nextMarker)The marker for the next set of results, or null if there are no additional results.ListPrincipalPoliciesResultwithPolicies(Policy... policies)The policies.ListPrincipalPoliciesResultwithPolicies(Collection<Policy> policies)The policies.
-
-
-
Method Detail
-
setPolicies
public void setPolicies(Collection<Policy> policies)
The policies.
- Parameters:
policies- The policies.
-
withPolicies
public ListPrincipalPoliciesResult withPolicies(Policy... policies)
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 policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicies
public ListPrincipalPoliciesResult withPolicies(Collection<Policy> policies)
The policies.
- Parameters:
policies- 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 ListPrincipalPoliciesResult 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPrincipalPoliciesResult clone()
-
-