@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansUtilizationDetail extends Object implements Serializable, Cloneable, StructuredPojo
A single daily or monthly Savings Plans utilization rate and details for your account. A management account in an
organization have access to member accounts. You can use GetDimensionValues
to determine the possible
dimension values.
Constructor and Description |
---|
SavingsPlansUtilizationDetail() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansUtilizationDetail |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
SavingsPlansUtilizationDetail |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SavingsPlansUtilizationDetail |
clone() |
boolean |
equals(Object obj) |
SavingsPlansAmortizedCommitment |
getAmortizedCommitment()
The total amortized commitment for a Savings Plans.
|
Map<String,String> |
getAttributes()
The attribute that applies to a specific
Dimension . |
SavingsPlansSavings |
getSavings()
The amount saved by using existing Savings Plans.
|
String |
getSavingsPlanArn()
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
|
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 |
setAttributes(Map<String,String> attributes)
The attribute that applies to a specific
Dimension . |
void |
setSavings(SavingsPlansSavings savings)
The amount saved by using existing Savings Plans.
|
void |
setSavingsPlanArn(String savingsPlanArn)
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
|
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.
|
SavingsPlansUtilizationDetail |
withAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans.
|
SavingsPlansUtilizationDetail |
withAttributes(Map<String,String> attributes)
The attribute that applies to a specific
Dimension . |
SavingsPlansUtilizationDetail |
withSavings(SavingsPlansSavings savings)
The amount saved by using existing Savings Plans.
|
SavingsPlansUtilizationDetail |
withSavingsPlanArn(String savingsPlanArn)
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
|
SavingsPlansUtilizationDetail |
withUtilization(SavingsPlansUtilization utilization)
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans
eligible.
|
public void setSavingsPlanArn(String savingsPlanArn)
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
savingsPlanArn
- The unique Amazon Resource Name (ARN) for a particular Savings Plan.public String getSavingsPlanArn()
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
public SavingsPlansUtilizationDetail withSavingsPlanArn(String savingsPlanArn)
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
savingsPlanArn
- The unique Amazon Resource Name (ARN) for a particular Savings Plan.public Map<String,String> getAttributes()
The attribute that applies to a specific Dimension
.
Dimension
.public void setAttributes(Map<String,String> attributes)
The attribute that applies to a specific Dimension
.
attributes
- The attribute that applies to a specific Dimension
.public SavingsPlansUtilizationDetail withAttributes(Map<String,String> attributes)
The attribute that applies to a specific Dimension
.
attributes
- The attribute that applies to a specific Dimension
.public SavingsPlansUtilizationDetail addAttributesEntry(String key, String value)
public SavingsPlansUtilizationDetail clearAttributesEntries()
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 SavingsPlansUtilizationDetail 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 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 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 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 SavingsPlansUtilizationDetail withSavings(SavingsPlansSavings savings)
The amount 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 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. Includes the sum of the upfront and recurring Savings Plans fees.
amortizedCommitment
- The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings
Plans fees.public SavingsPlansAmortizedCommitment getAmortizedCommitment()
The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.
public SavingsPlansUtilizationDetail withAmortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.
amortizedCommitment
- The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings
Plans fees.public String toString()
toString
in class Object
Object.toString()
public SavingsPlansUtilizationDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.