Interface RecommendationSummary.Builder

    • Method Detail

      • summaries

        RecommendationSummary.Builder summaries​(Collection<Summary> summaries)

        An array of objects that describe a recommendation summary.

        Parameters:
        summaries - An array of objects that describe a recommendation summary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • summaries

        RecommendationSummary.Builder summaries​(Summary... summaries)

        An array of objects that describe a recommendation summary.

        Parameters:
        summaries - An array of objects that describe a recommendation summary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendationResourceType

        RecommendationSummary.Builder recommendationResourceType​(String recommendationResourceType)

        The resource type that the recommendation summary applies to.

        Parameters:
        recommendationResourceType - The resource type that the recommendation summary applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RecommendationSourceType, RecommendationSourceType
      • accountId

        RecommendationSummary.Builder accountId​(String accountId)

        The Amazon Web Services account ID of the recommendation summary.

        Parameters:
        accountId - The Amazon Web Services account ID of the recommendation summary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • savingsOpportunity

        RecommendationSummary.Builder savingsOpportunity​(SavingsOpportunity savingsOpportunity)

        An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.

        Parameters:
        savingsOpportunity - An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentPerformanceRiskRatings

        RecommendationSummary.Builder currentPerformanceRiskRatings​(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)

        An object that describes the performance risk ratings for a given resource type.

        Parameters:
        currentPerformanceRiskRatings - An object that describes the performance risk ratings for a given resource type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inferredWorkloadSavings

        RecommendationSummary.Builder inferredWorkloadSavings​(Collection<InferredWorkloadSaving> inferredWorkloadSavings)

        An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types.

        Parameters:
        inferredWorkloadSavings - An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inferredWorkloadSavings

        RecommendationSummary.Builder inferredWorkloadSavings​(InferredWorkloadSaving... inferredWorkloadSavings)

        An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types.

        Parameters:
        inferredWorkloadSavings - An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inferredWorkloadSavings

        RecommendationSummary.Builder inferredWorkloadSavings​(Consumer<InferredWorkloadSaving.Builder>... inferredWorkloadSavings)

        An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types.

        This is a convenience method that creates an instance of the InferredWorkloadSaving.Builder avoiding the need to create one manually via InferredWorkloadSaving.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #inferredWorkloadSavings(List).

        Parameters:
        inferredWorkloadSavings - a consumer that will call methods on InferredWorkloadSaving.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #inferredWorkloadSavings(java.util.Collection)