@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanRate extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan rate.
| Constructor and Description |
|---|
SavingsPlanRate() |
| Modifier and Type | Method and Description |
|---|---|
SavingsPlanRate |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency.
|
String |
getOperation()
The specific Amazon Web Services operation for the line item in the billing report.
|
String |
getProductType()
The product type.
|
List<SavingsPlanRateProperty> |
getProperties()
The properties.
|
String |
getRate()
The rate.
|
String |
getServiceCode()
The service.
|
String |
getUnit()
The unit.
|
String |
getUsageType()
The usage details of the line item in the billing report.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The currency.
|
void |
setOperation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
|
void |
setProductType(String productType)
The product type.
|
void |
setProperties(Collection<SavingsPlanRateProperty> properties)
The properties.
|
void |
setRate(String rate)
The rate.
|
void |
setServiceCode(String serviceCode)
The service.
|
void |
setUnit(String unit)
The unit.
|
void |
setUsageType(String usageType)
The usage details of the line item in the billing report.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlanRate |
withCurrency(CurrencyCode currency)
The currency.
|
SavingsPlanRate |
withCurrency(String currency)
The currency.
|
SavingsPlanRate |
withOperation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
|
SavingsPlanRate |
withProductType(SavingsPlanProductType productType)
The product type.
|
SavingsPlanRate |
withProductType(String productType)
The product type.
|
SavingsPlanRate |
withProperties(Collection<SavingsPlanRateProperty> properties)
The properties.
|
SavingsPlanRate |
withProperties(SavingsPlanRateProperty... properties)
The properties.
|
SavingsPlanRate |
withRate(String rate)
The rate.
|
SavingsPlanRate |
withServiceCode(SavingsPlanRateServiceCode serviceCode)
The service.
|
SavingsPlanRate |
withServiceCode(String serviceCode)
The service.
|
SavingsPlanRate |
withUnit(SavingsPlanRateUnit unit)
The unit.
|
SavingsPlanRate |
withUnit(String unit)
The unit.
|
SavingsPlanRate |
withUsageType(String usageType)
The usage details of the line item in the billing report.
|
public void setRate(String rate)
The rate.
rate - The rate.public String getRate()
The rate.
public SavingsPlanRate withRate(String rate)
The rate.
rate - The rate.public void setCurrency(String currency)
The currency.
currency - The currency.CurrencyCodepublic String getCurrency()
The currency.
CurrencyCodepublic SavingsPlanRate withCurrency(String currency)
The currency.
currency - The currency.CurrencyCodepublic SavingsPlanRate withCurrency(CurrencyCode currency)
The currency.
currency - The currency.CurrencyCodepublic void setUnit(String unit)
The unit.
unit - The unit.SavingsPlanRateUnitpublic String getUnit()
The unit.
SavingsPlanRateUnitpublic SavingsPlanRate withUnit(String unit)
The unit.
unit - The unit.SavingsPlanRateUnitpublic SavingsPlanRate withUnit(SavingsPlanRateUnit unit)
The unit.
unit - The unit.SavingsPlanRateUnitpublic void setProductType(String productType)
The product type.
productType - The product type.SavingsPlanProductTypepublic String getProductType()
The product type.
SavingsPlanProductTypepublic SavingsPlanRate withProductType(String productType)
The product type.
productType - The product type.SavingsPlanProductTypepublic SavingsPlanRate withProductType(SavingsPlanProductType productType)
The product type.
productType - The product type.SavingsPlanProductTypepublic void setServiceCode(String serviceCode)
The service.
serviceCode - The service.SavingsPlanRateServiceCodepublic String getServiceCode()
The service.
SavingsPlanRateServiceCodepublic SavingsPlanRate withServiceCode(String serviceCode)
The service.
serviceCode - The service.SavingsPlanRateServiceCodepublic SavingsPlanRate withServiceCode(SavingsPlanRateServiceCode serviceCode)
The service.
serviceCode - The service.SavingsPlanRateServiceCodepublic void setUsageType(String usageType)
The usage details of the line item in the billing report.
usageType - The usage details of the line item in the billing report.public String getUsageType()
The usage details of the line item in the billing report.
public SavingsPlanRate withUsageType(String usageType)
The usage details of the line item in the billing report.
usageType - The usage details of the line item in the billing report.public void setOperation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
operation - The specific Amazon Web Services operation for the line item in the billing report.public String getOperation()
The specific Amazon Web Services operation for the line item in the billing report.
public SavingsPlanRate withOperation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
operation - The specific Amazon Web Services operation for the line item in the billing report.public List<SavingsPlanRateProperty> getProperties()
The properties.
public void setProperties(Collection<SavingsPlanRateProperty> properties)
The properties.
properties - The properties.public SavingsPlanRate withProperties(SavingsPlanRateProperty... properties)
The properties.
NOTE: This method appends the values to the existing list (if any). Use
setProperties(java.util.Collection) or withProperties(java.util.Collection) if you want to
override the existing values.
properties - The properties.public SavingsPlanRate withProperties(Collection<SavingsPlanRateProperty> properties)
The properties.
properties - The properties.public String toString()
toString in class ObjectObject.toString()public SavingsPlanRate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.