public static interface ECSServiceRecommendationOption.Builder extends SdkPojo, CopyableBuilder<ECSServiceRecommendationOption.Builder,ECSServiceRecommendationOption>
| Modifier and Type | Method and Description |
|---|---|
ECSServiceRecommendationOption.Builder |
containerRecommendations(Collection<ContainerRecommendation> containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
|
ECSServiceRecommendationOption.Builder |
containerRecommendations(Consumer<ContainerRecommendation.Builder>... containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
|
ECSServiceRecommendationOption.Builder |
containerRecommendations(ContainerRecommendation... containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
|
ECSServiceRecommendationOption.Builder |
cpu(Integer cpu)
The CPU size of the Amazon ECS service recommendation option.
|
ECSServiceRecommendationOption.Builder |
memory(Integer memory)
The memory size of the Amazon ECS service recommendation option.
|
ECSServiceRecommendationOption.Builder |
projectedUtilizationMetrics(Collection<ECSServiceProjectedUtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation
option.
|
ECSServiceRecommendationOption.Builder |
projectedUtilizationMetrics(Consumer<ECSServiceProjectedUtilizationMetric.Builder>... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation
option.
|
ECSServiceRecommendationOption.Builder |
projectedUtilizationMetrics(ECSServiceProjectedUtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation
option.
|
default ECSServiceRecommendationOption.Builder |
savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
Sets the value of the SavingsOpportunity property for this object.
|
ECSServiceRecommendationOption.Builder |
savingsOpportunity(SavingsOpportunity savingsOpportunity)
Sets the value of the SavingsOpportunity property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildECSServiceRecommendationOption.Builder memory(Integer memory)
The memory size of the Amazon ECS service recommendation option.
memory - The memory size of the Amazon ECS service recommendation option.ECSServiceRecommendationOption.Builder cpu(Integer cpu)
The CPU size of the Amazon ECS service recommendation option.
cpu - The CPU size of the Amazon ECS service recommendation option.ECSServiceRecommendationOption.Builder savingsOpportunity(SavingsOpportunity savingsOpportunity)
savingsOpportunity - The new value for the SavingsOpportunity property for this object.default ECSServiceRecommendationOption.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
SavingsOpportunity.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)ECSServiceRecommendationOption.Builder projectedUtilizationMetrics(Collection<ECSServiceProjectedUtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation option.
projectedUtilizationMetrics - An array of objects that describe the projected utilization metrics of the Amazon ECS service
recommendation option.ECSServiceRecommendationOption.Builder projectedUtilizationMetrics(ECSServiceProjectedUtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation option.
projectedUtilizationMetrics - An array of objects that describe the projected utilization metrics of the Amazon ECS service
recommendation option.ECSServiceRecommendationOption.Builder projectedUtilizationMetrics(Consumer<ECSServiceProjectedUtilizationMetric.Builder>... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Amazon ECS service recommendation option.
This is a convenience method that creates an instance of theECSServiceProjectedUtilizationMetric.Builder
avoiding the need to create one manually via
ECSServiceProjectedUtilizationMetric.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #projectedUtilizationMetrics(List.
projectedUtilizationMetrics - a consumer that will call methods on
ECSServiceProjectedUtilizationMetric.Builder#projectedUtilizationMetrics(java.util.Collection) ECSServiceRecommendationOption.Builder containerRecommendations(Collection<ContainerRecommendation> containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
containerRecommendations - The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.ECSServiceRecommendationOption.Builder containerRecommendations(ContainerRecommendation... containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
containerRecommendations - The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.ECSServiceRecommendationOption.Builder containerRecommendations(Consumer<ContainerRecommendation.Builder>... containerRecommendations)
The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
This is a convenience method that creates an instance of theContainerRecommendation.Builder avoiding the
need to create one manually via
ContainerRecommendation.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #containerRecommendations(List.
containerRecommendations - a consumer that will call methods on
ContainerRecommendation.Builder#containerRecommendations(java.util.Collection) Copyright © 2023. All rights reserved.