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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListOfferingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOfferingsResult
clone()
boolean
equals(Object obj)
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.List<Offering>
getOfferings()
A value representing the list offering results.int
hashCode()
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.void
setOfferings(Collection<Offering> offerings)
A value representing the list offering results.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.ListOfferingsResult
withOfferings(Offering... offerings)
A value representing the list offering results.ListOfferingsResult
withOfferings(Collection<Offering> offerings)
A value representing the list offering results.
-
-
-
Method Detail
-
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)
orwithOfferings(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListOfferingsResult clone()
-
-