@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageBasedRateCardItem extends Object implements Serializable, Cloneable, StructuredPojo
Within the pay-as-you-go model defined under UsageBasedPricingTerm
, the
UsageBasedRateCardItem
defines an individual rate for a product dimension.
Constructor and Description |
---|
UsageBasedRateCardItem() |
Modifier and Type | Method and Description |
---|---|
UsageBasedRateCardItem |
clone() |
boolean |
equals(Object obj) |
List<RateCardItem> |
getRateCard()
Defines the per unit rates for product dimensions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
|
String |
toString()
Returns a string representation of this object.
|
UsageBasedRateCardItem |
withRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
|
UsageBasedRateCardItem |
withRateCard(RateCardItem... rateCard)
Defines the per unit rates for product dimensions.
|
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 UsageBasedRateCardItem 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 UsageBasedRateCardItem withRateCard(Collection<RateCardItem> rateCard)
Defines the per unit rates for product dimensions.
rateCard
- Defines the per unit rates for product dimensions.public String toString()
toString
in class Object
Object.toString()
public UsageBasedRateCardItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.