public static interface RecommendationSummary.Builder extends SdkPojo, CopyableBuilder<RecommendationSummary.Builder,RecommendationSummary>
| Modifier and Type | Method and Description |
|---|---|
RecommendationSummary.Builder |
accountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
|
default RecommendationSummary.Builder |
currentPerformanceRiskRatings(Consumer<CurrentPerformanceRiskRatings.Builder> currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
|
RecommendationSummary.Builder |
currentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
|
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. |
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. |
RecommendationSummary.Builder |
inferredWorkloadSavings(InferredWorkloadSaving... inferredWorkloadSavings)
An array of objects that describes the estimated monthly saving amounts for the instances running on the
specified
inferredWorkloadTypes. |
RecommendationSummary.Builder |
recommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type that the recommendation summary applies to.
|
RecommendationSummary.Builder |
recommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
|
default RecommendationSummary.Builder |
savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
An object that describes the savings opportunity for a given resource type.
|
RecommendationSummary.Builder |
savingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for a given resource type.
|
RecommendationSummary.Builder |
summaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
|
RecommendationSummary.Builder |
summaries(Consumer<Summary.Builder>... summaries)
An array of objects that describe a recommendation summary.
|
RecommendationSummary.Builder |
summaries(Summary... summaries)
An array of objects that describe a recommendation summary.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationSummary.Builder summaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
summaries - An array of objects that describe a recommendation summary.RecommendationSummary.Builder summaries(Summary... summaries)
An array of objects that describe a recommendation summary.
summaries - An array of objects that describe a recommendation summary.RecommendationSummary.Builder summaries(Consumer<Summary.Builder>... summaries)
An array of objects that describe a recommendation summary.
This is a convenience method that creates an instance of theSummary.Builder avoiding the need to create
one manually via Summary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #summaries(List.
summaries - a consumer that will call methods on
Summary.Builder#summaries(java.util.Collection) RecommendationSummary.Builder recommendationResourceType(String recommendationResourceType)
The resource type that the recommendation summary applies to.
recommendationResourceType - The resource type that the recommendation summary applies to.RecommendationSourceType,
RecommendationSourceTypeRecommendationSummary.Builder recommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type that the recommendation summary applies to.
recommendationResourceType - The resource type that the recommendation summary applies to.RecommendationSourceType,
RecommendationSourceTypeRecommendationSummary.Builder accountId(String accountId)
The Amazon Web Services account ID of the recommendation summary.
accountId - The Amazon Web Services account ID of the recommendation summary.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.
savingsOpportunity - An object that describes the savings opportunity for a given resource type. Savings opportunity
includes the estimated monthly savings amount and percentage.default RecommendationSummary.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
This is a convenience method that creates an instance of theSavingsOpportunity.Builder avoiding the
need to create one manually via SavingsOpportunity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to savingsOpportunity(SavingsOpportunity).
savingsOpportunity - a consumer that will call methods on SavingsOpportunity.BuildersavingsOpportunity(SavingsOpportunity)RecommendationSummary.Builder currentPerformanceRiskRatings(CurrentPerformanceRiskRatings currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
currentPerformanceRiskRatings - An object that describes the performance risk ratings for a given resource type.default RecommendationSummary.Builder currentPerformanceRiskRatings(Consumer<CurrentPerformanceRiskRatings.Builder> currentPerformanceRiskRatings)
An object that describes the performance risk ratings for a given resource type.
This is a convenience method that creates an instance of theCurrentPerformanceRiskRatings.Builder
avoiding the need to create one manually via CurrentPerformanceRiskRatings.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to currentPerformanceRiskRatings(CurrentPerformanceRiskRatings).
currentPerformanceRiskRatings - a consumer that will call methods on CurrentPerformanceRiskRatings.BuildercurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings)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 three savings opportunites for the
instances running inferred workload types.
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 three savings
opportunites for the instances running inferred workload types.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 three savings opportunites for the
instances running inferred workload types.
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 three savings
opportunites for the instances running inferred workload types.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 three savings opportunites for the
instances running inferred workload types.
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.
inferredWorkloadSavings - a consumer that will call methods on
InferredWorkloadSaving.Builder#inferredWorkloadSavings(java.util.Collection) Copyright © 2023. All rights reserved.