Interface GetSavingsPlansPurchaseRecommendationRequest.Builder

  • Method Details

    • savingsPlansType

      The Savings Plans recommendation type that's requested.

      Parameters:
      savingsPlansType - The Savings Plans recommendation type that's requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • savingsPlansType

      The Savings Plans recommendation type that's requested.

      Parameters:
      savingsPlansType - The Savings Plans recommendation type that's requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • termInYears

      The savings plan recommendation term that's used to generate these recommendations.

      Parameters:
      termInYears - The savings plan recommendation term that's used to generate these recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • termInYears

      The savings plan recommendation term that's used to generate these recommendations.

      Parameters:
      termInYears - The savings plan recommendation term that's used to generate these recommendations.
      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 these recommendations.

      Parameters:
      paymentOption - The payment option that's used to generate these recommendations.
      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 these recommendations.

      Parameters:
      paymentOption - The payment option that's used to generate these recommendations.
      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 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.

      Parameters:
      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.
      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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageSize

      The number of recommendations that you want returned in a single response object.

      Parameters:
      pageSize - The number of recommendations that you want returned in a single response object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lookbackPeriodInDays

      GetSavingsPlansPurchaseRecommendationRequest.Builder lookbackPeriodInDays(String lookbackPeriodInDays)

      The lookback period that's used to generate the recommendation.

      Parameters:
      lookbackPeriodInDays - The lookback period 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 that's used to generate the recommendation.

      Parameters:
      lookbackPeriodInDays - The lookback period that's used to generate the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      filter - a consumer that will call methods on Expression.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.