@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOfferingPromotionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOfferingPromotionsResult() |
Modifier and Type | Method and Description |
---|---|
ListOfferingPromotionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An identifier to be used in the next call to this operation, to return the next set of items in the list.
|
List<OfferingPromotion> |
getOfferingPromotions()
Information about the offering promotions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier to be used in the next call to this operation, to return the next set of items in the list.
|
void |
setOfferingPromotions(Collection<OfferingPromotion> offeringPromotions)
Information about the offering promotions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListOfferingPromotionsResult |
withNextToken(String nextToken)
An identifier to be used in the next call to this operation, to return the next set of items in the list.
|
ListOfferingPromotionsResult |
withOfferingPromotions(Collection<OfferingPromotion> offeringPromotions)
Information about the offering promotions.
|
ListOfferingPromotionsResult |
withOfferingPromotions(OfferingPromotion... offeringPromotions)
Information about the offering promotions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<OfferingPromotion> getOfferingPromotions()
Information about the offering promotions.
public void setOfferingPromotions(Collection<OfferingPromotion> offeringPromotions)
Information about the offering promotions.
offeringPromotions
- Information about the offering promotions.public ListOfferingPromotionsResult withOfferingPromotions(OfferingPromotion... offeringPromotions)
Information about the offering promotions.
NOTE: This method appends the values to the existing list (if any). Use
setOfferingPromotions(java.util.Collection)
or withOfferingPromotions(java.util.Collection)
if
you want to override the existing values.
offeringPromotions
- Information about the offering promotions.public ListOfferingPromotionsResult withOfferingPromotions(Collection<OfferingPromotion> offeringPromotions)
Information about the offering promotions.
offeringPromotions
- Information about the offering promotions.public void setNextToken(String nextToken)
An identifier to be used in the next call to this operation, to return the next set of items in the list.
nextToken
- An identifier to be used in the next call to this operation, to return the next set of items in the list.public String getNextToken()
An identifier to be used in the next call to this operation, to return the next set of items in the list.
public ListOfferingPromotionsResult withNextToken(String nextToken)
An identifier to be used in the next call to this operation, to return the next set of items in the list.
nextToken
- An identifier to be used in the next call to this operation, to return the next set of items in the list.public String toString()
toString
in class Object
Object.toString()
public ListOfferingPromotionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.