Interface RecommendationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommendationSummary.Builder,
,RecommendationSummary> SdkBuilder<RecommendationSummary.Builder,
,RecommendationSummary> SdkPojo
- Enclosing class:
RecommendationSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.currentPerformanceRiskRatings
(CurrentPerformanceRiskRatings currentPerformanceRiskRatings) An object that describes the performance risk ratings for a given resource type.inferredWorkloadSavings
(Collection<InferredWorkloadSaving> inferredWorkloadSavings) An array of objects that describes the estimated monthly saving amounts for the instances running on the specifiedinferredWorkloadTypes
.inferredWorkloadSavings
(Consumer<InferredWorkloadSaving.Builder>... inferredWorkloadSavings) An array of objects that describes the estimated monthly saving amounts for the instances running on the specifiedinferredWorkloadTypes
.inferredWorkloadSavings
(InferredWorkloadSaving... inferredWorkloadSavings) An array of objects that describes the estimated monthly saving amounts for the instances running on the specifiedinferredWorkloadTypes
.recommendationResourceType
(String recommendationResourceType) The resource type that the recommendation summary applies to.recommendationResourceType
(RecommendationSourceType 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.savingsOpportunity
(SavingsOpportunity savingsOpportunity) An object that describes the savings opportunity for a given resource type.summaries
(Collection<Summary> summaries) An array of objects that describe a recommendation summary.summaries
(Consumer<Summary.Builder>... summaries) An array of objects that describe a recommendation summary.An array of objects that describe a recommendation summary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 viaSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaries(List<Summary>)
.- Parameters:
summaries
- a consumer that will call methods onSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
recommendationResourceType
RecommendationSummary.Builder recommendationResourceType(RecommendationSourceType 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:
-
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
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.
-
savingsOpportunity
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 viaSavingsOpportunity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunity(SavingsOpportunity)
.- Parameters:
savingsOpportunity
- a consumer that will call methods onSavingsOpportunity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
currentPerformanceRiskRatings
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 viaCurrentPerformanceRiskRatings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings)
.- Parameters:
currentPerformanceRiskRatings
- a consumer that will call methods onCurrentPerformanceRiskRatings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 specifiedinferredWorkloadTypes
. 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 specifiedinferredWorkloadTypes
. 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
This is a convenience method that creates an instance of theinferredWorkloadTypes
. The array contains the top five savings opportunites for the instances that run inferred workload types.InferredWorkloadSaving.Builder
avoiding the need to create one manually viaInferredWorkloadSaving.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferredWorkloadSavings(List<InferredWorkloadSaving>)
.- Parameters:
inferredWorkloadSavings
- a consumer that will call methods onInferredWorkloadSaving.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-