public static interface GetSavingsPlansPurchaseRecommendationRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetSavingsPlansPurchaseRecommendationRequest.Builder,GetSavingsPlansPurchaseRecommendationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSavingsPlansPurchaseRecommendationRequest.Builder savingsPlansType(String savingsPlansType)
The Savings Plans recommendation type that's requested.
savingsPlansType - The Savings Plans recommendation type that's requested.SupportedSavingsPlansType,
SupportedSavingsPlansTypeGetSavingsPlansPurchaseRecommendationRequest.Builder savingsPlansType(SupportedSavingsPlansType savingsPlansType)
The Savings Plans recommendation type that's requested.
savingsPlansType - The Savings Plans recommendation type that's requested.SupportedSavingsPlansType,
SupportedSavingsPlansTypeGetSavingsPlansPurchaseRecommendationRequest.Builder termInYears(String termInYears)
The savings plan recommendation term that's used to generate these recommendations.
termInYears - The savings plan recommendation term that's used to generate these recommendations.TermInYears,
TermInYearsGetSavingsPlansPurchaseRecommendationRequest.Builder termInYears(TermInYears termInYears)
The savings plan recommendation term that's used to generate these recommendations.
termInYears - The savings plan recommendation term that's used to generate these recommendations.TermInYears,
TermInYearsGetSavingsPlansPurchaseRecommendationRequest.Builder paymentOption(String paymentOption)
The payment option that's used to generate these recommendations.
paymentOption - The payment option that's used to generate these recommendations.PaymentOption,
PaymentOptionGetSavingsPlansPurchaseRecommendationRequest.Builder paymentOption(PaymentOption paymentOption)
The payment option that's used to generate these recommendations.
paymentOption - The payment option that's used to generate these recommendations.PaymentOption,
PaymentOptionGetSavingsPlansPurchaseRecommendationRequest.Builder accountScope(String accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including 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 including 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,
AccountScopeGetSavingsPlansPurchaseRecommendationRequest.Builder accountScope(AccountScope accountScope)
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations
including 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 including 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,
AccountScopeGetSavingsPlansPurchaseRecommendationRequest.Builder nextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the
response from a previous call has more results than the maximum page size.GetSavingsPlansPurchaseRecommendationRequest.Builder pageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize - The number of recommendations that you want returned in a single response object.GetSavingsPlansPurchaseRecommendationRequest.Builder lookbackPeriodInDays(String lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
lookbackPeriodInDays - The lookback period that's used to generate the recommendation.LookbackPeriodInDays,
LookbackPeriodInDaysGetSavingsPlansPurchaseRecommendationRequest.Builder lookbackPeriodInDays(LookbackPeriodInDays lookbackPeriodInDays)
The lookback period that's used to generate the recommendation.
lookbackPeriodInDays - The lookback period that's used to generate the recommendation.LookbackPeriodInDays,
LookbackPeriodInDaysGetSavingsPlansPurchaseRecommendationRequest.Builder filter(Expression filter)
You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter
your recommendations by Account ID, specify Key as LINKED_ACCOUNT and
Value as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter doesn't include
CostCategories or Tags. It only includes Dimensions. With
Dimensions, Key must be LINKED_ACCOUNT and Value can be a
single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans Purchase
Recommendations for. AND and OR operators are not supported.
filter - You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To
filter your recommendations by Account ID, specify Key as LINKED_ACCOUNT and
Value as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter doesn't include
CostCategories or Tags. It only includes Dimensions. With
Dimensions, Key must be LINKED_ACCOUNT and Value
can be a single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans
Purchase Recommendations for. AND and OR operators are not supported.
default GetSavingsPlansPurchaseRecommendationRequest.Builder filter(Consumer<Expression.Builder> filter)
You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter
your recommendations by Account ID, specify Key as LINKED_ACCOUNT and
Value as the comma-separated Acount ID(s) that you want to see Savings Plans purchase
recommendations for.
For GetSavingsPlansPurchaseRecommendation, the Filter doesn't include
CostCategories or Tags. It only includes Dimensions. With
Dimensions, Key must be LINKED_ACCOUNT and Value can be a
single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans Purchase
Recommendations for. AND and OR operators are not supported.
Expression.Builder avoiding the need to
create one manually via Expression.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to filter(Expression).
filter - a consumer that will call methods on Expression.Builderfilter(Expression)GetSavingsPlansPurchaseRecommendationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetSavingsPlansPurchaseRecommendationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.