@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ECSSavingsOpportunityAfterDiscounts extends Object implements Serializable, Cloneable, StructuredPojo
Describes the savings opportunity for Amazon ECS service recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
Constructor and Description |
---|
ECSSavingsOpportunityAfterDiscounts() |
Modifier and Type | Method and Description |
---|---|
ECSSavingsOpportunityAfterDiscounts |
clone() |
boolean |
equals(Object obj) |
ECSEstimatedMonthlySavings |
getEstimatedMonthlySavings()
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
|
Double |
getSavingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS
service recommendations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEstimatedMonthlySavings(ECSEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
|
void |
setSavingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS
service recommendations.
|
String |
toString()
Returns a string representation of this object.
|
ECSSavingsOpportunityAfterDiscounts |
withEstimatedMonthlySavings(ECSEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
|
ECSSavingsOpportunityAfterDiscounts |
withSavingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS
service recommendations.
|
public void setSavingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s
Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.public Double getSavingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
public ECSSavingsOpportunityAfterDiscounts withSavingsOpportunityPercentage(Double savingsOpportunityPercentage)
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s
Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.public void setEstimatedMonthlySavings(ECSEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
estimatedMonthlySavings
- The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
This includes any applicable Savings Plans discounts.public ECSEstimatedMonthlySavings getEstimatedMonthlySavings()
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
public ECSSavingsOpportunityAfterDiscounts withEstimatedMonthlySavings(ECSEstimatedMonthlySavings estimatedMonthlySavings)
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
estimatedMonthlySavings
- The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
This includes any applicable Savings Plans discounts.public String toString()
toString
in class Object
Object.toString()
public ECSSavingsOpportunityAfterDiscounts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.