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
aggregatedSavingsOpportunity
(Consumer<SavingsOpportunity.Builder> aggregatedSavingsOpportunity) Sets the value of the AggregatedSavingsOpportunity property for this object.aggregatedSavingsOpportunity
(SavingsOpportunity aggregatedSavingsOpportunity) Sets the value of the AggregatedSavingsOpportunity property for this object.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.default RecommendationSummary.Builder
idleSavingsOpportunity
(Consumer<SavingsOpportunity.Builder> idleSavingsOpportunity) Sets the value of the IdleSavingsOpportunity property for this object.idleSavingsOpportunity
(SavingsOpportunity idleSavingsOpportunity) Sets the value of the IdleSavingsOpportunity property for this object.idleSummaries
(Collection<IdleSummary> idleSummaries) Describes the findings summary of the idle resources.idleSummaries
(Consumer<IdleSummary.Builder>... idleSummaries) Describes the findings summary of the idle resources.idleSummaries
(IdleSummary... idleSummaries) Describes the findings summary of the idle resources.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, sdkFieldNameToField, 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:
-
idleSummaries
Describes the findings summary of the idle resources.
- Parameters:
idleSummaries
- Describes the findings summary of the idle resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idleSummaries
Describes the findings summary of the idle resources.
- Parameters:
idleSummaries
- Describes the findings summary of the idle resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idleSummaries
Describes the findings summary of the idle resources.
This is a convenience method that creates an instance of theIdleSummary.Builder
avoiding the need to create one manually viaIdleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidleSummaries(List<IdleSummary>)
.- Parameters:
idleSummaries
- a consumer that will call methods onIdleSummary.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:
-
idleSavingsOpportunity
Sets the value of the IdleSavingsOpportunity property for this object.- Parameters:
idleSavingsOpportunity
- The new value for the IdleSavingsOpportunity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idleSavingsOpportunity
default RecommendationSummary.Builder idleSavingsOpportunity(Consumer<SavingsOpportunity.Builder> idleSavingsOpportunity) Sets the value of the IdleSavingsOpportunity property for this object. 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 toidleSavingsOpportunity(SavingsOpportunity)
.- Parameters:
idleSavingsOpportunity
- 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:
-
aggregatedSavingsOpportunity
RecommendationSummary.Builder aggregatedSavingsOpportunity(SavingsOpportunity aggregatedSavingsOpportunity) Sets the value of the AggregatedSavingsOpportunity property for this object.- Parameters:
aggregatedSavingsOpportunity
- The new value for the AggregatedSavingsOpportunity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregatedSavingsOpportunity
default RecommendationSummary.Builder aggregatedSavingsOpportunity(Consumer<SavingsOpportunity.Builder> aggregatedSavingsOpportunity) Sets the value of the AggregatedSavingsOpportunity property for this object. 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 toaggregatedSavingsOpportunity(SavingsOpportunity)
.- Parameters:
aggregatedSavingsOpportunity
- 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:
-