Interface RecommendationDetailData.Builder

    • Method Detail

      • accountScope

        RecommendationDetailData.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.

        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, AccountScope
      • accountScope

        RecommendationDetailData.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.

        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, AccountScope
      • lookbackPeriodInDays

        RecommendationDetailData.Builder lookbackPeriodInDays​(String lookbackPeriodInDays)

        How many days of previous usage that Amazon Web Services considers when making this recommendation.

        Parameters:
        lookbackPeriodInDays - How many days of previous usage that Amazon Web Services considers when making this recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LookbackPeriodInDays, LookbackPeriodInDays
      • lookbackPeriodInDays

        RecommendationDetailData.Builder lookbackPeriodInDays​(LookbackPeriodInDays lookbackPeriodInDays)

        How many days of previous usage that Amazon Web Services considers when making this recommendation.

        Parameters:
        lookbackPeriodInDays - How many days of previous usage that Amazon Web Services considers when making this recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LookbackPeriodInDays, LookbackPeriodInDays
      • termInYears

        RecommendationDetailData.Builder termInYears​(String termInYears)

        The term of the commitment in years.

        Parameters:
        termInYears - The term of the commitment in years.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TermInYears, TermInYears
      • paymentOption

        RecommendationDetailData.Builder paymentOption​(String paymentOption)

        The payment option for the commitment (for example, All Upfront or No Upfront).

        Parameters:
        paymentOption - The payment option for the commitment (for example, All Upfront or No Upfront).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PaymentOption, PaymentOption
      • paymentOption

        RecommendationDetailData.Builder paymentOption​(PaymentOption paymentOption)

        The payment option for the commitment (for example, All Upfront or No Upfront).

        Parameters:
        paymentOption - The payment option for the commitment (for example, All Upfront or No Upfront).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PaymentOption, PaymentOption
      • accountId

        RecommendationDetailData.Builder accountId​(String accountId)

        The AccountID that the recommendation is generated for.

        Parameters:
        accountId - The AccountID that the recommendation is generated for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currencyCode

        RecommendationDetailData.Builder currencyCode​(String currencyCode)

        The currency code that Amazon Web Services used to generate the recommendation and present potential savings.

        Parameters:
        currencyCode - The currency code that Amazon Web Services used to generate the recommendation and present potential savings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceFamily

        RecommendationDetailData.Builder instanceFamily​(String instanceFamily)

        The instance family of the recommended Savings Plan.

        Parameters:
        instanceFamily - The instance family of the recommended Savings Plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        RecommendationDetailData.Builder region​(String region)

        The region the recommendation is generated for.

        Parameters:
        region - The region the recommendation is generated for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offeringId

        RecommendationDetailData.Builder offeringId​(String offeringId)

        The unique ID that's used to distinguish Savings Plans from one another.

        Parameters:
        offeringId - The unique ID that's used to distinguish Savings Plans from one another.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationTimestamp

        RecommendationDetailData.Builder generationTimestamp​(String generationTimestamp)
        Sets the value of the GenerationTimestamp property for this object.
        Parameters:
        generationTimestamp - The new value for the GenerationTimestamp property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestUsageTimestamp

        RecommendationDetailData.Builder latestUsageTimestamp​(String latestUsageTimestamp)
        Sets the value of the LatestUsageTimestamp property for this object.
        Parameters:
        latestUsageTimestamp - The new value for the LatestUsageTimestamp property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentAverageHourlyOnDemandSpend

        RecommendationDetailData.Builder currentAverageHourlyOnDemandSpend​(String currentAverageHourlyOnDemandSpend)

        The average value of hourly On-Demand spend over the lookback period of the applicable usage type.

        Parameters:
        currentAverageHourlyOnDemandSpend - The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentMaximumHourlyOnDemandSpend

        RecommendationDetailData.Builder currentMaximumHourlyOnDemandSpend​(String currentMaximumHourlyOnDemandSpend)

        The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.

        Parameters:
        currentMaximumHourlyOnDemandSpend - The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentMinimumHourlyOnDemandSpend

        RecommendationDetailData.Builder currentMinimumHourlyOnDemandSpend​(String currentMinimumHourlyOnDemandSpend)

        The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.

        Parameters:
        currentMinimumHourlyOnDemandSpend - The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedAverageUtilization

        RecommendationDetailData.Builder estimatedAverageUtilization​(String estimatedAverageUtilization)

        The estimated utilization of the recommended Savings Plan.

        Parameters:
        estimatedAverageUtilization - The estimated utilization of the recommended Savings Plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedMonthlySavingsAmount

        RecommendationDetailData.Builder estimatedMonthlySavingsAmount​(String estimatedMonthlySavingsAmount)

        The estimated monthly savings amount based on the recommended Savings Plan.

        Parameters:
        estimatedMonthlySavingsAmount - The estimated monthly savings amount based on the recommended Savings Plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedOnDemandCost

        RecommendationDetailData.Builder estimatedOnDemandCost​(String estimatedOnDemandCost)

        The remaining On-Demand cost estimated to not be covered by the recommended Savings Plan, over the length of the lookback period.

        Parameters:
        estimatedOnDemandCost - The remaining On-Demand cost estimated to not be covered by the recommended Savings Plan, over the length of the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedOnDemandCostWithCurrentCommitment

        RecommendationDetailData.Builder estimatedOnDemandCostWithCurrentCommitment​(String estimatedOnDemandCostWithCurrentCommitment)

        The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plan you own.

        Parameters:
        estimatedOnDemandCostWithCurrentCommitment - The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plan you own.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedROI

        RecommendationDetailData.Builder estimatedROI​(String estimatedROI)

        The estimated return on investment that's based on the recommended Savings Plan that you purchased. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.

        Parameters:
        estimatedROI - The estimated return on investment that's based on the recommended Savings Plan that you purchased. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedSPCost

        RecommendationDetailData.Builder estimatedSPCost​(String estimatedSPCost)

        The cost of the recommended Savings Plan over the length of the lookback period.

        Parameters:
        estimatedSPCost - The cost of the recommended Savings Plan over the length of the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedSavingsAmount

        RecommendationDetailData.Builder estimatedSavingsAmount​(String estimatedSavingsAmount)

        The estimated savings amount that's based on the recommended Savings Plan over the length of the lookback period.

        Parameters:
        estimatedSavingsAmount - The estimated savings amount that's based on the recommended Savings Plan over the length of the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedSavingsPercentage

        RecommendationDetailData.Builder estimatedSavingsPercentage​(String estimatedSavingsPercentage)

        The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.

        Parameters:
        estimatedSavingsPercentage - The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • existingHourlyCommitment

        RecommendationDetailData.Builder existingHourlyCommitment​(String existingHourlyCommitment)

        The existing hourly commitment for the Savings Plan type.

        Parameters:
        existingHourlyCommitment - The existing hourly commitment for the Savings Plan type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hourlyCommitmentToPurchase

        RecommendationDetailData.Builder hourlyCommitmentToPurchase​(String hourlyCommitmentToPurchase)

        The recommended hourly commitment level for the Savings Plan type and the configuration that's based on the usage during the lookback period.

        Parameters:
        hourlyCommitmentToPurchase - The recommended hourly commitment level for the Savings Plan type and the configuration that's based on the usage during the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • upfrontCost

        RecommendationDetailData.Builder upfrontCost​(String upfrontCost)

        The upfront cost of the recommended Savings Plan, based on the selected payment option.

        Parameters:
        upfrontCost - The upfront cost of the recommended Savings Plan, based on the selected payment option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentAverageCoverage

        RecommendationDetailData.Builder currentAverageCoverage​(String currentAverageCoverage)

        The average value of hourly coverage over the lookback period.

        Parameters:
        currentAverageCoverage - The average value of hourly coverage over the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedAverageCoverage

        RecommendationDetailData.Builder estimatedAverageCoverage​(String estimatedAverageCoverage)

        The estimated coverage of the recommended Savings Plan.

        Parameters:
        estimatedAverageCoverage - The estimated coverage of the recommended Savings Plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricsOverLookbackPeriod

        RecommendationDetailData.Builder metricsOverLookbackPeriod​(Collection<RecommendationDetailHourlyMetrics> metricsOverLookbackPeriod)

        The related hourly cost, coverage, and utilization metrics over the lookback period.

        Parameters:
        metricsOverLookbackPeriod - The related hourly cost, coverage, and utilization metrics over the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricsOverLookbackPeriod

        RecommendationDetailData.Builder metricsOverLookbackPeriod​(RecommendationDetailHourlyMetrics... metricsOverLookbackPeriod)

        The related hourly cost, coverage, and utilization metrics over the lookback period.

        Parameters:
        metricsOverLookbackPeriod - The related hourly cost, coverage, and utilization metrics over the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.