@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLongTermPricingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListLongTermPricingResult() |
| Modifier and Type | Method and Description |
|---|---|
ListLongTermPricingResult |
clone() |
boolean |
equals(Object obj) |
List<LongTermPricingListEntry> |
getLongTermPricingEntries()
Each
LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type. |
String |
getNextToken()
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list. |
int |
hashCode() |
void |
setLongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries)
Each
LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type. |
void |
setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list. |
String |
toString()
Returns a string representation of this object.
|
ListLongTermPricingResult |
withLongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries)
Each
LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type. |
ListLongTermPricingResult |
withLongTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries)
Each
LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type. |
ListLongTermPricingResult |
withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<LongTermPricingListEntry> getLongTermPricingEntries()
Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.
LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.public void setLongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries)
Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.
longTermPricingEntries - Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.public ListLongTermPricingResult withLongTermPricingEntries(LongTermPricingListEntry... longTermPricingEntries)
Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.
NOTE: This method appends the values to the existing list (if any). Use
setLongTermPricingEntries(java.util.Collection) or
withLongTermPricingEntries(java.util.Collection) if you want to override the existing values.
longTermPricingEntries - Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.public ListLongTermPricingResult withLongTermPricingEntries(Collection<LongTermPricingListEntry> longTermPricingEntries)
Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.
longTermPricingEntries - Each LongTermPricingEntry object contains a status, ID, and other information about the
LongTermPricing type.public void setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list.
nextToken - Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list.public String getNextToken()
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list.
ListLongTermPricing list.public ListLongTermPricingResult withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list.
nextToken - Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricing list.public String toString()
toString in class ObjectObject.toString()public ListLongTermPricingResult clone()