Interface SavingsPlansPurchaseRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansPurchaseRecommendation.Builder,
,SavingsPlansPurchaseRecommendation> SdkBuilder<SavingsPlansPurchaseRecommendation.Builder,
,SavingsPlansPurchaseRecommendation> SdkPojo
- Enclosing class:
SavingsPlansPurchaseRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionaccountScope
(String accountScope) The account scope that you want your recommendations for.accountScope
(AccountScope accountScope) The account scope that you want your recommendations for.lookbackPeriodInDays
(String lookbackPeriodInDays) The lookback period in days that's used to generate the recommendation.lookbackPeriodInDays
(LookbackPeriodInDays lookbackPeriodInDays) The lookback period in days that's used to generate the recommendation.paymentOption
(String paymentOption) The payment option that's used to generate the recommendation.paymentOption
(PaymentOption paymentOption) The payment option that's used to generate the recommendation.savingsPlansPurchaseRecommendationDetails
(Collection<SavingsPlansPurchaseRecommendationDetail> savingsPlansPurchaseRecommendationDetails) Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.savingsPlansPurchaseRecommendationDetails
(Consumer<SavingsPlansPurchaseRecommendationDetail.Builder>... savingsPlansPurchaseRecommendationDetails) Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.savingsPlansPurchaseRecommendationDetails
(SavingsPlansPurchaseRecommendationDetail... savingsPlansPurchaseRecommendationDetails) Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.savingsPlansPurchaseRecommendationSummary
(Consumer<SavingsPlansPurchaseRecommendationSummary.Builder> savingsPlansPurchaseRecommendationSummary) Summary metrics for your Savings Plans Recommendations.savingsPlansPurchaseRecommendationSummary
(SavingsPlansPurchaseRecommendationSummary savingsPlansPurchaseRecommendationSummary) Summary metrics for your Savings Plans Recommendations.savingsPlansType
(String savingsPlansType) The requested Savings Plans recommendation type.savingsPlansType
(SupportedSavingsPlansType savingsPlansType) The requested Savings Plans recommendation type.termInYears
(String termInYears) The Savings Plans recommendation term in years.termInYears
(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 Details
-
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
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:
-
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:
-
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:
-
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
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:
-
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
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:
-
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
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:
-
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.Builder
avoiding the need to create one manually viaSavingsPlansPurchaseRecommendationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsPlansPurchaseRecommendationDetails(List<SavingsPlansPurchaseRecommendationDetail>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaSavingsPlansPurchaseRecommendationSummary.builder()
.When the
Consumer
completes,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:
-