@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansPurchaseRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
| Constructor and Description |
|---|
SavingsPlansPurchaseRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
SavingsPlansPurchaseRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountScope()
The account scope that you want your recommendations for.
|
String |
getLookbackPeriodInDays()
The lookback period in days that's used to generate the recommendation.
|
String |
getPaymentOption()
The payment option that's used to generate the recommendation.
|
List<SavingsPlansPurchaseRecommendationDetail> |
getSavingsPlansPurchaseRecommendationDetails()
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.
|
SavingsPlansPurchaseRecommendationSummary |
getSavingsPlansPurchaseRecommendationSummary()
Summary metrics for your Savings Plans Recommendations.
|
String |
getSavingsPlansType()
The requested Savings Plans recommendation type.
|
String |
getTermInYears()
The Savings Plans recommendation term in years.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
void |
setLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
|
void |
setPaymentOption(String paymentOption)
The payment option that's used to generate the recommendation.
|
void |
setSavingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.
|
void |
setSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
|
void |
setSavingsPlansType(String savingsPlansType)
The requested Savings Plans recommendation type.
|
void |
setTermInYears(String termInYears)
The Savings Plans recommendation term in years.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlansPurchaseRecommendation |
withAccountScope(AccountScope accountScope)
The account scope that you want your recommendations for.
|
SavingsPlansPurchaseRecommendation |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
SavingsPlansPurchaseRecommendation |
withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
|
SavingsPlansPurchaseRecommendation |
withLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
|
SavingsPlansPurchaseRecommendation |
withPaymentOption(PaymentOption paymentOption)
The payment option that's used to generate the recommendation.
|
SavingsPlansPurchaseRecommendation |
withPaymentOption(String paymentOption)
The payment option that's used to generate the recommendation.
|
SavingsPlansPurchaseRecommendation |
withSavingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.
|
SavingsPlansPurchaseRecommendation |
withSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetail... savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.
|
SavingsPlansPurchaseRecommendation |
withSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
|
SavingsPlansPurchaseRecommendation |
withSavingsPlansType(String savingsPlansType)
The requested Savings Plans recommendation type.
|
SavingsPlansPurchaseRecommendation |
withSavingsPlansType(SupportedSavingsPlansType savingsPlansType)
The requested Savings Plans recommendation type.
|
SavingsPlansPurchaseRecommendation |
withTermInYears(String termInYears)
The Savings Plans recommendation term in years.
|
SavingsPlansPurchaseRecommendation |
withTermInYears(TermInYears termInYears)
The Savings Plans recommendation term in years.
|
public void setAccountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that
include the management account and member accounts if the value is set to PAYER. If the value is
LINKED, recommendations are calculated for individual member accounts only.
accountScope - The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
that include the management account and member accounts if the value is set to PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic String getAccountScope()
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that
include the management account and member accounts if the value is set to PAYER. If the value is
LINKED, recommendations are calculated for individual member accounts only.
PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic SavingsPlansPurchaseRecommendation withAccountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that
include the management account and member accounts if the value is set to PAYER. If the value is
LINKED, recommendations are calculated for individual member accounts only.
accountScope - The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
that include the management account and member accounts if the value is set to PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic SavingsPlansPurchaseRecommendation withAccountScope(AccountScope accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that
include the management account and member accounts if the value is set to PAYER. If the value is
LINKED, recommendations are calculated for individual member accounts only.
accountScope - The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
that include the management account and member accounts if the value is set to PAYER. If the
value is LINKED, recommendations are calculated for individual member accounts only.AccountScopepublic void setSavingsPlansType(String savingsPlansType)
The requested Savings Plans recommendation type.
savingsPlansType - The requested Savings Plans recommendation type.SupportedSavingsPlansTypepublic String getSavingsPlansType()
The requested Savings Plans recommendation type.
SupportedSavingsPlansTypepublic SavingsPlansPurchaseRecommendation withSavingsPlansType(String savingsPlansType)
The requested Savings Plans recommendation type.
savingsPlansType - The requested Savings Plans recommendation type.SupportedSavingsPlansTypepublic SavingsPlansPurchaseRecommendation withSavingsPlansType(SupportedSavingsPlansType savingsPlansType)
The requested Savings Plans recommendation type.
savingsPlansType - The requested Savings Plans recommendation type.SupportedSavingsPlansTypepublic void setTermInYears(String termInYears)
The Savings Plans recommendation term in years. It's used to generate the recommendation.
termInYears - The Savings Plans recommendation term in years. It's used to generate the recommendation.TermInYearspublic String getTermInYears()
The Savings Plans recommendation term in years. It's used to generate the recommendation.
TermInYearspublic SavingsPlansPurchaseRecommendation withTermInYears(String termInYears)
The Savings Plans recommendation term in years. It's used to generate the recommendation.
termInYears - The Savings Plans recommendation term in years. It's used to generate the recommendation.TermInYearspublic SavingsPlansPurchaseRecommendation withTermInYears(TermInYears termInYears)
The Savings Plans recommendation term in years. It's used to generate the recommendation.
termInYears - The Savings Plans recommendation term in years. It's used to generate the recommendation.TermInYearspublic void setPaymentOption(String paymentOption)
The payment option that's used to generate the recommendation.
paymentOption - The payment option that's used to generate the recommendation.PaymentOptionpublic String getPaymentOption()
The payment option that's used to generate the recommendation.
PaymentOptionpublic SavingsPlansPurchaseRecommendation withPaymentOption(String paymentOption)
The payment option that's used to generate the recommendation.
paymentOption - The payment option that's used to generate the recommendation.PaymentOptionpublic SavingsPlansPurchaseRecommendation withPaymentOption(PaymentOption paymentOption)
The payment option that's used to generate the recommendation.
paymentOption - The payment option that's used to generate the recommendation.PaymentOptionpublic void setLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
lookbackPeriodInDays - The lookback period in days that's used to generate the recommendation.LookbackPeriodInDayspublic String getLookbackPeriodInDays()
The lookback period in days that's used to generate the recommendation.
LookbackPeriodInDayspublic SavingsPlansPurchaseRecommendation withLookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
lookbackPeriodInDays - The lookback period in days that's used to generate the recommendation.LookbackPeriodInDayspublic SavingsPlansPurchaseRecommendation withLookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
lookbackPeriodInDays - The lookback period in days that's used to generate the recommendation.LookbackPeriodInDayspublic List<SavingsPlansPurchaseRecommendationDetail> getSavingsPlansPurchaseRecommendationDetails()
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
public void setSavingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
savingsPlansPurchaseRecommendationDetails - Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.public SavingsPlansPurchaseRecommendation withSavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetail... savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
NOTE: This method appends the values to the existing list (if any). Use
setSavingsPlansPurchaseRecommendationDetails(java.util.Collection) or
withSavingsPlansPurchaseRecommendationDetails(java.util.Collection) if you want to override the existing
values.
savingsPlansPurchaseRecommendationDetails - Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.public SavingsPlansPurchaseRecommendation withSavingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
savingsPlansPurchaseRecommendationDetails - Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible
workloads.public void setSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
savingsPlansPurchaseRecommendationSummary - Summary metrics for your Savings Plans Recommendations.public SavingsPlansPurchaseRecommendationSummary getSavingsPlansPurchaseRecommendationSummary()
Summary metrics for your Savings Plans Recommendations.
public SavingsPlansPurchaseRecommendation withSavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
savingsPlansPurchaseRecommendationSummary - Summary metrics for your Savings Plans Recommendations.public String toString()
toString in class ObjectObject.toString()public SavingsPlansPurchaseRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.