@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansUtilizationByTime extends Object implements Serializable, Cloneable, StructuredPojo
The amount of Savings Plans utilization (in hours).
Constructor and Description |
---|
SavingsPlansUtilizationByTime() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansUtilizationByTime |
clone() |
boolean |
equals(Object obj) |
SavingsPlansAmortizedCommitment |
getAmortizedCommitment()
The total amortized commitment for a Savings Plans.
|
SavingsPlansSavings |
getSavings()
The amount that's saved by using existing Savings Plans.
|
DateInterval |
getTimePeriod() |
SavingsPlansUtilization |
getUtilization()
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans.
|
void |
setSavings(SavingsPlansSavings savings)
The amount that's saved by using existing Savings Plans.
|
void |
setTimePeriod(DateInterval timePeriod) |
void |
setUtilization(SavingsPlansUtilization utilization)
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlansUtilizationByTime |
withAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans.
|
SavingsPlansUtilizationByTime |
withSavings(SavingsPlansSavings savings)
The amount that's saved by using existing Savings Plans.
|
SavingsPlansUtilizationByTime |
withTimePeriod(DateInterval timePeriod) |
SavingsPlansUtilizationByTime |
withUtilization(SavingsPlansUtilization utilization)
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.
|
public void setTimePeriod(DateInterval timePeriod)
timePeriod
- public DateInterval getTimePeriod()
public SavingsPlansUtilizationByTime withTimePeriod(DateInterval timePeriod)
timePeriod
- public void setUtilization(SavingsPlansUtilization utilization)
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
utilization
- A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.public SavingsPlansUtilization getUtilization()
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
public SavingsPlansUtilizationByTime withUtilization(SavingsPlansUtilization utilization)
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
utilization
- A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.public void setSavings(SavingsPlansSavings savings)
The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and
also the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
savings
- The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings
Plans and also the onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.public SavingsPlansSavings getSavings()
The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and
also the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.public SavingsPlansUtilizationByTime withSavings(SavingsPlansSavings savings)
The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and
also the onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.
savings
- The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings
Plans and also the onDemandCostEquivalent
of the Savings Plans when considering the
utilization rate.public void setAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring
Savings Plans fees.public SavingsPlansAmortizedCommitment getAmortizedCommitment()
The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
public SavingsPlansUtilizationByTime withAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring
Savings Plans fees.public String toString()
toString
in class Object
Object.toString()
public SavingsPlansUtilizationByTime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.