@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurableUpfrontRateCardItem extends Object implements Serializable, Cloneable, StructuredPojo
Within the prepaid payment model defined under ConfigurableUpfrontPricingTerm
, the
RateCardItem
defines all the various rate cards (including pricing and dimensions) that have been
proposed.
Constructor and Description |
---|
ConfigurableUpfrontRateCardItem() |
Modifier and Type | Method and Description |
---|---|
ConfigurableUpfrontRateCardItem |
clone() |
boolean |
equals(Object obj) |
Constraints |
getConstraints()
Defines limits on how the term can be configured by acceptors.
|
List<RateCardItem> |
getRateCard()
Defines the per unit rates for product dimensions.
|
Selector |
getSelector()
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConstraints(Constraints constraints)
Defines limits on how the term can be configured by acceptors.
|
void |
setRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
|
void |
setSelector(Selector selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurableUpfrontRateCardItem |
withConstraints(Constraints constraints)
Defines limits on how the term can be configured by acceptors.
|
ConfigurableUpfrontRateCardItem |
withRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
|
ConfigurableUpfrontRateCardItem |
withRateCard(RateCardItem... rateCard)
Defines the per unit rates for product dimensions.
|
ConfigurableUpfrontRateCardItem |
withSelector(Selector selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
|
public void setConstraints(Constraints constraints)
Defines limits on how the term can be configured by acceptors.
constraints
- Defines limits on how the term can be configured by acceptors.public Constraints getConstraints()
Defines limits on how the term can be configured by acceptors.
public ConfigurableUpfrontRateCardItem withConstraints(Constraints constraints)
Defines limits on how the term can be configured by acceptors.
constraints
- Defines limits on how the term can be configured by acceptors.public List<RateCardItem> getRateCard()
Defines the per unit rates for product dimensions.
public void setRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
rateCard
- Defines the per unit rates for product dimensions.public ConfigurableUpfrontRateCardItem withRateCard(RateCardItem... rateCard)
Defines the per unit rates for product dimensions.
NOTE: This method appends the values to the existing list (if any). Use
setRateCard(java.util.Collection)
or withRateCard(java.util.Collection)
if you want to override
the existing values.
rateCard
- Defines the per unit rates for product dimensions.public ConfigurableUpfrontRateCardItem withRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
rateCard
- Defines the per unit rates for product dimensions.public void setSelector(Selector selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
selector
- Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the
buyer.public Selector getSelector()
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
public ConfigurableUpfrontRateCardItem withSelector(Selector selector)
Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
selector
- Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the
buyer.public String toString()
toString
in class Object
Object.toString()
public ConfigurableUpfrontRateCardItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.