@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurableUpfrontPricingTerm extends Object implements Serializable, Cloneable, StructuredPojo
Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
Constructor and Description |
---|
ConfigurableUpfrontPricingTerm() |
Modifier and Type | Method and Description |
---|---|
ConfigurableUpfrontPricingTerm |
clone() |
boolean |
equals(Object obj) |
ConfigurableUpfrontPricingTermConfiguration |
getConfiguration()
Additional parameters specified by the acceptor while accepting the term.
|
String |
getCurrencyCode()
Defines the currency for the prices mentioned in the term.
|
List<ConfigurableUpfrontRateCardItem> |
getRateCards()
A rate card defines the per unit rates for product dimensions.
|
String |
getType()
Category of selector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ConfigurableUpfrontPricingTermConfiguration configuration)
Additional parameters specified by the acceptor while accepting the term.
|
void |
setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
|
void |
setRateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards)
A rate card defines the per unit rates for product dimensions.
|
void |
setType(String type)
Category of selector.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurableUpfrontPricingTerm |
withConfiguration(ConfigurableUpfrontPricingTermConfiguration configuration)
Additional parameters specified by the acceptor while accepting the term.
|
ConfigurableUpfrontPricingTerm |
withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
|
ConfigurableUpfrontPricingTerm |
withRateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards)
A rate card defines the per unit rates for product dimensions.
|
ConfigurableUpfrontPricingTerm |
withRateCards(ConfigurableUpfrontRateCardItem... rateCards)
A rate card defines the per unit rates for product dimensions.
|
ConfigurableUpfrontPricingTerm |
withType(String type)
Category of selector.
|
public void setConfiguration(ConfigurableUpfrontPricingTermConfiguration configuration)
Additional parameters specified by the acceptor while accepting the term.
configuration
- Additional parameters specified by the acceptor while accepting the term.public ConfigurableUpfrontPricingTermConfiguration getConfiguration()
Additional parameters specified by the acceptor while accepting the term.
public ConfigurableUpfrontPricingTerm withConfiguration(ConfigurableUpfrontPricingTermConfiguration configuration)
Additional parameters specified by the acceptor while accepting the term.
configuration
- Additional parameters specified by the acceptor while accepting the term.public void setCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
currencyCode
- Defines the currency for the prices mentioned in the term.public String getCurrencyCode()
Defines the currency for the prices mentioned in the term.
public ConfigurableUpfrontPricingTerm withCurrencyCode(String currencyCode)
Defines the currency for the prices mentioned in the term.
currencyCode
- Defines the currency for the prices mentioned in the term.public List<ConfigurableUpfrontRateCardItem> getRateCards()
A rate card defines the per unit rates for product dimensions.
public void setRateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards)
A rate card defines the per unit rates for product dimensions.
rateCards
- A rate card defines the per unit rates for product dimensions.public ConfigurableUpfrontPricingTerm withRateCards(ConfigurableUpfrontRateCardItem... rateCards)
A rate card defines the per unit rates for product dimensions.
NOTE: This method appends the values to the existing list (if any). Use
setRateCards(java.util.Collection)
or withRateCards(java.util.Collection)
if you want to
override the existing values.
rateCards
- A rate card defines the per unit rates for product dimensions.public ConfigurableUpfrontPricingTerm withRateCards(Collection<ConfigurableUpfrontRateCardItem> rateCards)
A rate card defines the per unit rates for product dimensions.
rateCards
- A rate card defines the per unit rates for product dimensions.public void setType(String type)
Category of selector.
type
- Category of selector.public String getType()
Category of selector.
public ConfigurableUpfrontPricingTerm withType(String type)
Category of selector.
type
- Category of selector.public String toString()
toString
in class Object
Object.toString()
public ConfigurableUpfrontPricingTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.