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:
  • Constructor Details

    • ListPrincipalPoliciesResult

      public ListPrincipalPoliciesResult()
  • Method Details

    • getPolicies

      public List<Policy> getPolicies()

      The policies.

      Returns:
      The policies.
    • 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) or withPolicies(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object