@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlanOfferingRate extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan offering rate.
Constructor and Description |
---|
SavingsPlanOfferingRate() |
Modifier and Type | Method and Description |
---|---|
SavingsPlanOfferingRate |
clone() |
boolean |
equals(Object obj) |
String |
getOperation()
The specific Amazon Web Services operation for the line item in the billing report.
|
String |
getProductType()
The product type.
|
List<SavingsPlanOfferingRateProperty> |
getProperties()
The properties.
|
String |
getRate()
The Savings Plan rate.
|
ParentSavingsPlanOffering |
getSavingsPlanOffering()
The Savings Plan offering.
|
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 |
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<SavingsPlanOfferingRateProperty> properties)
The properties.
|
void |
setRate(String rate)
The Savings Plan rate.
|
void |
setSavingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering)
The Savings Plan offering.
|
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.
|
SavingsPlanOfferingRate |
withOperation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
|
SavingsPlanOfferingRate |
withProductType(SavingsPlanProductType productType)
The product type.
|
SavingsPlanOfferingRate |
withProductType(String productType)
The product type.
|
SavingsPlanOfferingRate |
withProperties(Collection<SavingsPlanOfferingRateProperty> properties)
The properties.
|
SavingsPlanOfferingRate |
withProperties(SavingsPlanOfferingRateProperty... properties)
The properties.
|
SavingsPlanOfferingRate |
withRate(String rate)
The Savings Plan rate.
|
SavingsPlanOfferingRate |
withSavingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering)
The Savings Plan offering.
|
SavingsPlanOfferingRate |
withServiceCode(SavingsPlanRateServiceCode serviceCode)
The service.
|
SavingsPlanOfferingRate |
withServiceCode(String serviceCode)
The service.
|
SavingsPlanOfferingRate |
withUnit(SavingsPlanRateUnit unit)
The unit.
|
SavingsPlanOfferingRate |
withUnit(String unit)
The unit.
|
SavingsPlanOfferingRate |
withUsageType(String usageType)
The usage details of the line item in the billing report.
|
public void setSavingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering)
The Savings Plan offering.
savingsPlanOffering
- The Savings Plan offering.public ParentSavingsPlanOffering getSavingsPlanOffering()
The Savings Plan offering.
public SavingsPlanOfferingRate withSavingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering)
The Savings Plan offering.
savingsPlanOffering
- The Savings Plan offering.public void setRate(String rate)
The Savings Plan rate.
rate
- The Savings Plan rate.public String getRate()
The Savings Plan rate.
public SavingsPlanOfferingRate withRate(String rate)
The Savings Plan rate.
rate
- The Savings Plan rate.public void setUnit(String unit)
The unit.
unit
- The unit.SavingsPlanRateUnit
public String getUnit()
The unit.
SavingsPlanRateUnit
public SavingsPlanOfferingRate withUnit(String unit)
The unit.
unit
- The unit.SavingsPlanRateUnit
public SavingsPlanOfferingRate withUnit(SavingsPlanRateUnit unit)
The unit.
unit
- The unit.SavingsPlanRateUnit
public void setProductType(String productType)
The product type.
productType
- The product type.SavingsPlanProductType
public String getProductType()
The product type.
SavingsPlanProductType
public SavingsPlanOfferingRate withProductType(String productType)
The product type.
productType
- The product type.SavingsPlanProductType
public SavingsPlanOfferingRate withProductType(SavingsPlanProductType productType)
The product type.
productType
- The product type.SavingsPlanProductType
public void setServiceCode(String serviceCode)
The service.
serviceCode
- The service.SavingsPlanRateServiceCode
public String getServiceCode()
The service.
SavingsPlanRateServiceCode
public SavingsPlanOfferingRate withServiceCode(String serviceCode)
The service.
serviceCode
- The service.SavingsPlanRateServiceCode
public SavingsPlanOfferingRate withServiceCode(SavingsPlanRateServiceCode serviceCode)
The service.
serviceCode
- The service.SavingsPlanRateServiceCode
public 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 SavingsPlanOfferingRate 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 SavingsPlanOfferingRate 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<SavingsPlanOfferingRateProperty> getProperties()
The properties.
public void setProperties(Collection<SavingsPlanOfferingRateProperty> properties)
The properties.
properties
- The properties.public SavingsPlanOfferingRate withProperties(SavingsPlanOfferingRateProperty... 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 SavingsPlanOfferingRate withProperties(Collection<SavingsPlanOfferingRateProperty> properties)
The properties.
properties
- The properties.public String toString()
toString
in class Object
Object.toString()
public SavingsPlanOfferingRate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.