Class ListPrincipalThingsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.iot.model.ListPrincipalThingsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListPrincipalThingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for the ListPrincipalThings operation.

See Also:
  • Constructor Details

    • ListPrincipalThingsRequest

      public ListPrincipalThingsRequest()
  • Method Details

    • setNextToken

      public void setNextToken(String nextToken)

      A token used to retrieve the next value.

      Parameters:
      nextToken - A token used to retrieve the next value.
    • getNextToken

      public String getNextToken()

      A token used to retrieve the next value.

      Returns:
      A token used to retrieve the next value.
    • withNextToken

      public ListPrincipalThingsRequest withNextToken(String nextToken)

      A token used to retrieve the next value.

      Parameters:
      nextToken - A token used to retrieve the next value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxResults

      public void setMaxResults(Integer maxResults)

      The maximum number of principals to return.

      Parameters:
      maxResults - The maximum number of principals to return.
    • getMaxResults

      public Integer getMaxResults()

      The maximum number of principals to return.

      Returns:
      The maximum number of principals to return.
    • withMaxResults

      public ListPrincipalThingsRequest withMaxResults(Integer maxResults)

      The maximum number of principals to return.

      Parameters:
      maxResults - The maximum number of principals to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPrincipal

      public void setPrincipal(String principal)

      The principal.

      Parameters:
      principal - The principal.
    • getPrincipal

      public String getPrincipal()

      The principal.

      Returns:
      The principal.
    • withPrincipal

      public ListPrincipalThingsRequest withPrincipal(String principal)

      The principal.

      Parameters:
      principal - The principal.
      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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: