Interface SavingsPlansPurchaseRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlansPurchaseRecommendation.Builder,SavingsPlansPurchaseRecommendation>,SdkBuilder<SavingsPlansPurchaseRecommendation.Builder,SavingsPlansPurchaseRecommendation>,SdkPojo
- Enclosing class:
- SavingsPlansPurchaseRecommendation
public static interface SavingsPlansPurchaseRecommendation.Builder extends SdkPojo, CopyableBuilder<SavingsPlansPurchaseRecommendation.Builder,SavingsPlansPurchaseRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SavingsPlansPurchaseRecommendation.BuilderaccountScope(String accountScope)The account scope that you want your recommendations for.SavingsPlansPurchaseRecommendation.BuilderaccountScope(AccountScope accountScope)The account scope that you want your recommendations for.SavingsPlansPurchaseRecommendation.BuilderlookbackPeriodInDays(String lookbackPeriodInDays)The lookback period in days that's used to generate the recommendation.SavingsPlansPurchaseRecommendation.BuilderlookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)The lookback period in days that's used to generate the recommendation.SavingsPlansPurchaseRecommendation.BuilderpaymentOption(String paymentOption)The payment option that's used to generate the recommendation.SavingsPlansPurchaseRecommendation.BuilderpaymentOption(PaymentOption paymentOption)The payment option that's used to generate the recommendation.SavingsPlansPurchaseRecommendation.BuildersavingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.SavingsPlansPurchaseRecommendation.BuildersavingsPlansPurchaseRecommendationDetails(Consumer<SavingsPlansPurchaseRecommendationDetail.Builder>... savingsPlansPurchaseRecommendationDetails)Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.SavingsPlansPurchaseRecommendation.BuildersavingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetail... savingsPlansPurchaseRecommendationDetails)Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.default SavingsPlansPurchaseRecommendation.BuildersavingsPlansPurchaseRecommendationSummary(Consumer<SavingsPlansPurchaseRecommendationSummary.Builder> savingsPlansPurchaseRecommendationSummary)Summary metrics for your Savings Plans Recommendations.SavingsPlansPurchaseRecommendation.BuildersavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)Summary metrics for your Savings Plans Recommendations.SavingsPlansPurchaseRecommendation.BuildersavingsPlansType(String savingsPlansType)The requested Savings Plans recommendation type.SavingsPlansPurchaseRecommendation.BuildersavingsPlansType(SupportedSavingsPlansType savingsPlansType)The requested Savings Plans recommendation type.SavingsPlansPurchaseRecommendation.BuildertermInYears(String termInYears)The Savings Plans recommendation term in years.SavingsPlansPurchaseRecommendation.BuildertermInYears(TermInYears termInYears)The Savings Plans recommendation term in years.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountScope
SavingsPlansPurchaseRecommendation.Builder accountScope(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 isLINKED, recommendations are calculated for individual member accounts only.- Parameters:
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 toPAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountScope,AccountScope
-
accountScope
SavingsPlansPurchaseRecommendation.Builder accountScope(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 isLINKED, recommendations are calculated for individual member accounts only.- Parameters:
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 toPAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountScope,AccountScope
-
savingsPlansType
SavingsPlansPurchaseRecommendation.Builder savingsPlansType(String savingsPlansType)
The requested Savings Plans recommendation type.
- Parameters:
savingsPlansType- The requested Savings Plans recommendation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SupportedSavingsPlansType,SupportedSavingsPlansType
-
savingsPlansType
SavingsPlansPurchaseRecommendation.Builder savingsPlansType(SupportedSavingsPlansType savingsPlansType)
The requested Savings Plans recommendation type.
- Parameters:
savingsPlansType- The requested Savings Plans recommendation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SupportedSavingsPlansType,SupportedSavingsPlansType
-
termInYears
SavingsPlansPurchaseRecommendation.Builder termInYears(String termInYears)
The Savings Plans recommendation term in years. It's used to generate the recommendation.
- Parameters:
termInYears- The Savings Plans recommendation term in years. It's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermInYears,TermInYears
-
termInYears
SavingsPlansPurchaseRecommendation.Builder termInYears(TermInYears termInYears)
The Savings Plans recommendation term in years. It's used to generate the recommendation.
- Parameters:
termInYears- The Savings Plans recommendation term in years. It's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermInYears,TermInYears
-
paymentOption
SavingsPlansPurchaseRecommendation.Builder paymentOption(String paymentOption)
The payment option that's used to generate the recommendation.
- Parameters:
paymentOption- The payment option that's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PaymentOption,PaymentOption
-
paymentOption
SavingsPlansPurchaseRecommendation.Builder paymentOption(PaymentOption paymentOption)
The payment option that's used to generate the recommendation.
- Parameters:
paymentOption- The payment option that's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PaymentOption,PaymentOption
-
lookbackPeriodInDays
SavingsPlansPurchaseRecommendation.Builder lookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
- Parameters:
lookbackPeriodInDays- The lookback period in days that's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookbackPeriodInDays,LookbackPeriodInDays
-
lookbackPeriodInDays
SavingsPlansPurchaseRecommendation.Builder lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period in days that's used to generate the recommendation.
- Parameters:
lookbackPeriodInDays- The lookback period in days that's used to generate the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LookbackPeriodInDays,LookbackPeriodInDays
-
savingsPlansPurchaseRecommendationDetails
SavingsPlansPurchaseRecommendation.Builder savingsPlansPurchaseRecommendationDetails(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
- Parameters:
savingsPlansPurchaseRecommendationDetails- Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansPurchaseRecommendationDetails
SavingsPlansPurchaseRecommendation.Builder savingsPlansPurchaseRecommendationDetails(SavingsPlansPurchaseRecommendationDetail... savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
- Parameters:
savingsPlansPurchaseRecommendationDetails- Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansPurchaseRecommendationDetails
SavingsPlansPurchaseRecommendation.Builder savingsPlansPurchaseRecommendationDetails(Consumer<SavingsPlansPurchaseRecommendationDetail.Builder>... savingsPlansPurchaseRecommendationDetails)
Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.
This is a convenience method that creates an instance of theSavingsPlansPurchaseRecommendationDetail.Builderavoiding the need to create one manually viaSavingsPlansPurchaseRecommendationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#savingsPlansPurchaseRecommendationDetails(List.) - Parameters:
savingsPlansPurchaseRecommendationDetails- a consumer that will call methods onSavingsPlansPurchaseRecommendationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#savingsPlansPurchaseRecommendationDetails(java.util.Collection)
-
savingsPlansPurchaseRecommendationSummary
SavingsPlansPurchaseRecommendation.Builder savingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
- Parameters:
savingsPlansPurchaseRecommendationSummary- Summary metrics for your Savings Plans Recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansPurchaseRecommendationSummary
default SavingsPlansPurchaseRecommendation.Builder savingsPlansPurchaseRecommendationSummary(Consumer<SavingsPlansPurchaseRecommendationSummary.Builder> savingsPlansPurchaseRecommendationSummary)
Summary metrics for your Savings Plans Recommendations.
This is a convenience method that creates an instance of theSavingsPlansPurchaseRecommendationSummary.Builderavoiding the need to create one manually viaSavingsPlansPurchaseRecommendationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosavingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary).- Parameters:
savingsPlansPurchaseRecommendationSummary- a consumer that will call methods onSavingsPlansPurchaseRecommendationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
savingsPlansPurchaseRecommendationSummary(SavingsPlansPurchaseRecommendationSummary)
-
-