public class ListOfferingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the return values of the list of offerings.
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
private java.util.List<Offering> |
offerings
A value representing the list offering results.
|
Constructor and Description |
---|
ListOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
ListOfferingsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.List<Offering> |
getOfferings()
A value representing the list offering results.
|
int |
hashCode() |
void |
setNextToken(java.lang.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(java.util.Collection<Offering> offerings)
A value representing the list offering results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListOfferingsResult |
withNextToken(java.lang.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(java.util.Collection<Offering> offerings)
A value representing the list offering results.
|
ListOfferingsResult |
withOfferings(Offering... offerings)
A value representing the list offering results.
|
private java.util.List<Offering> offerings
A value representing the list offering results.
private java.lang.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.
public java.util.List<Offering> getOfferings()
A value representing the list offering results.
public void setOfferings(java.util.Collection<Offering> offerings)
A value representing the list offering results.
offerings
- A value representing the list offering results.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.
offerings
- A value representing the list offering results.public ListOfferingsResult withOfferings(java.util.Collection<Offering> offerings)
A value representing the list offering results.
offerings
- A value representing the list offering results.public void setNextToken(java.lang.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.
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.public java.lang.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.
public ListOfferingsResult withNextToken(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListOfferingsResult clone()
clone
in class java.lang.Object