Interface RecommendedOptionProjectedMetric.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommendedOptionProjectedMetric.Builder,
,RecommendedOptionProjectedMetric> SdkBuilder<RecommendedOptionProjectedMetric.Builder,
,RecommendedOptionProjectedMetric> SdkPojo
- Enclosing class:
RecommendedOptionProjectedMetric
-
Method Summary
Modifier and TypeMethodDescriptionprojectedMetrics
(Collection<ProjectedMetric> projectedMetrics) An array of objects that describe a projected utilization metric.projectedMetrics
(Consumer<ProjectedMetric.Builder>... projectedMetrics) An array of objects that describe a projected utilization metric.projectedMetrics
(ProjectedMetric... projectedMetrics) An array of objects that describe a projected utilization metric.The rank of the recommendation option projected metric.recommendedInstanceType
(String recommendedInstanceType) The recommended instance type.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
-
recommendedInstanceType
The recommended instance type.
- Parameters:
recommendedInstanceType
- The recommended instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rank
The rank of the recommendation option projected metric.
The top recommendation option is ranked as
1
.The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as
1
is related to the recommendation option that is also ranked as1
in the same response.- Parameters:
rank
- The rank of the recommendation option projected metric.The top recommendation option is ranked as
1
.The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as
1
is related to the recommendation option that is also ranked as1
in the same response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedMetrics
RecommendedOptionProjectedMetric.Builder projectedMetrics(Collection<ProjectedMetric> projectedMetrics) An array of objects that describe a projected utilization metric.
- Parameters:
projectedMetrics
- An array of objects that describe a projected utilization metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedMetrics
An array of objects that describe a projected utilization metric.
- Parameters:
projectedMetrics
- An array of objects that describe a projected utilization metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectedMetrics
RecommendedOptionProjectedMetric.Builder projectedMetrics(Consumer<ProjectedMetric.Builder>... projectedMetrics) An array of objects that describe a projected utilization metric.
This is a convenience method that creates an instance of theProjectedMetric.Builder
avoiding the need to create one manually viaProjectedMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectedMetrics(List<ProjectedMetric>)
.- Parameters:
projectedMetrics
- a consumer that will call methods onProjectedMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-