@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParentSavingsPlanOffering extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Savings Plan offering.
| Constructor and Description |
|---|
ParentSavingsPlanOffering() |
| Modifier and Type | Method and Description |
|---|---|
ParentSavingsPlanOffering |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency.
|
Long |
getDurationSeconds()
The duration, in seconds.
|
String |
getOfferingId()
The ID of the offering.
|
String |
getPaymentOption()
The payment option.
|
String |
getPlanDescription()
The description.
|
String |
getPlanType()
The plan type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The currency.
|
void |
setDurationSeconds(Long durationSeconds)
The duration, in seconds.
|
void |
setOfferingId(String offeringId)
The ID of the offering.
|
void |
setPaymentOption(String paymentOption)
The payment option.
|
void |
setPlanDescription(String planDescription)
The description.
|
void |
setPlanType(String planType)
The plan type.
|
String |
toString()
Returns a string representation of this object.
|
ParentSavingsPlanOffering |
withCurrency(CurrencyCode currency)
The currency.
|
ParentSavingsPlanOffering |
withCurrency(String currency)
The currency.
|
ParentSavingsPlanOffering |
withDurationSeconds(Long durationSeconds)
The duration, in seconds.
|
ParentSavingsPlanOffering |
withOfferingId(String offeringId)
The ID of the offering.
|
ParentSavingsPlanOffering |
withPaymentOption(SavingsPlanPaymentOption paymentOption)
The payment option.
|
ParentSavingsPlanOffering |
withPaymentOption(String paymentOption)
The payment option.
|
ParentSavingsPlanOffering |
withPlanDescription(String planDescription)
The description.
|
ParentSavingsPlanOffering |
withPlanType(SavingsPlanType planType)
The plan type.
|
ParentSavingsPlanOffering |
withPlanType(String planType)
The plan type.
|
public void setOfferingId(String offeringId)
The ID of the offering.
offeringId - The ID of the offering.public String getOfferingId()
The ID of the offering.
public ParentSavingsPlanOffering withOfferingId(String offeringId)
The ID of the offering.
offeringId - The ID of the offering.public void setPaymentOption(String paymentOption)
The payment option.
paymentOption - The payment option.SavingsPlanPaymentOptionpublic String getPaymentOption()
The payment option.
SavingsPlanPaymentOptionpublic ParentSavingsPlanOffering withPaymentOption(String paymentOption)
The payment option.
paymentOption - The payment option.SavingsPlanPaymentOptionpublic ParentSavingsPlanOffering withPaymentOption(SavingsPlanPaymentOption paymentOption)
The payment option.
paymentOption - The payment option.SavingsPlanPaymentOptionpublic void setPlanType(String planType)
The plan type.
planType - The plan type.SavingsPlanTypepublic String getPlanType()
The plan type.
SavingsPlanTypepublic ParentSavingsPlanOffering withPlanType(String planType)
The plan type.
planType - The plan type.SavingsPlanTypepublic ParentSavingsPlanOffering withPlanType(SavingsPlanType planType)
The plan type.
planType - The plan type.SavingsPlanTypepublic void setDurationSeconds(Long durationSeconds)
The duration, in seconds.
durationSeconds - The duration, in seconds.public Long getDurationSeconds()
The duration, in seconds.
public ParentSavingsPlanOffering withDurationSeconds(Long durationSeconds)
The duration, in seconds.
durationSeconds - The duration, in seconds.public void setCurrency(String currency)
The currency.
currency - The currency.CurrencyCodepublic String getCurrency()
The currency.
CurrencyCodepublic ParentSavingsPlanOffering withCurrency(String currency)
The currency.
currency - The currency.CurrencyCodepublic ParentSavingsPlanOffering withCurrency(CurrencyCode currency)
The currency.
currency - The currency.CurrencyCodepublic void setPlanDescription(String planDescription)
The description.
planDescription - The description.public String getPlanDescription()
The description.
public ParentSavingsPlanOffering withPlanDescription(String planDescription)
The description.
planDescription - The description.public String toString()
toString in class ObjectObject.toString()public ParentSavingsPlanOffering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.