@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.SavingsPlanPaymentOption
public String getPaymentOption()
The payment option.
SavingsPlanPaymentOption
public ParentSavingsPlanOffering withPaymentOption(String paymentOption)
The payment option.
paymentOption
- The payment option.SavingsPlanPaymentOption
public ParentSavingsPlanOffering withPaymentOption(SavingsPlanPaymentOption paymentOption)
The payment option.
paymentOption
- The payment option.SavingsPlanPaymentOption
public void setPlanType(String planType)
The plan type.
planType
- The plan type.SavingsPlanType
public String getPlanType()
The plan type.
SavingsPlanType
public ParentSavingsPlanOffering withPlanType(String planType)
The plan type.
planType
- The plan type.SavingsPlanType
public ParentSavingsPlanOffering withPlanType(SavingsPlanType planType)
The plan type.
planType
- The plan type.SavingsPlanType
public 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.CurrencyCode
public String getCurrency()
The currency.
CurrencyCode
public ParentSavingsPlanOffering withCurrency(String currency)
The currency.
currency
- The currency.CurrencyCode
public ParentSavingsPlanOffering withCurrency(CurrencyCode currency)
The currency.
currency
- The currency.CurrencyCode
public 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 Object
Object.toString()
public ParentSavingsPlanOffering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.