Class ListOfferingsResult

java.lang.Object
com.amazonaws.services.devicefarm.model.ListOfferingsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListOfferingsResult extends Object implements Serializable, Cloneable

Represents the return values of the list of offerings.

See Also:
  • Constructor Details

    • ListOfferingsResult

      public ListOfferingsResult()
  • Method Details

    • getOfferings

      public List<Offering> getOfferings()

      A value representing the list offering results.

      Returns:
      A value representing the list offering results.
    • setOfferings

      public void setOfferings(Collection<Offering> offerings)

      A value representing the list offering results.

      Parameters:
      offerings - A value representing the list offering results.
    • withOfferings

      public ListOfferingsResult withOfferings(Offering... offerings)

      A value representing the list offering results.

      NOTE: This method appends the values to the existing list (if any). Use setOfferings(java.util.Collection) or withOfferings(java.util.Collection) if you want to override the existing values.

      Parameters:
      offerings - A value representing the list offering results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withOfferings

      public ListOfferingsResult withOfferings(Collection<Offering> offerings)

      A value representing the list offering results.

      Parameters:
      offerings - A value representing the list offering results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • getNextToken

      public String getNextToken()

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Returns:
      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • withNextToken

      public ListOfferingsResult withNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
      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

      public ListOfferingsResult clone()
      Overrides:
      clone in class Object