Interface ECSServiceRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ECSServiceRecommendation.Builder,ECSServiceRecommendation>,SdkBuilder<ECSServiceRecommendation.Builder,ECSServiceRecommendation>,SdkPojo
- Enclosing class:
- ECSServiceRecommendation
public static interface ECSServiceRecommendation.Builder extends SdkPojo, CopyableBuilder<ECSServiceRecommendation.Builder,ECSServiceRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ECSServiceRecommendation.BuilderaccountId(String accountId)The Amazon Web Services account ID of the Amazon ECS service.ECSServiceRecommendation.BuildercurrentPerformanceRisk(String currentPerformanceRisk)The risk of the current Amazon ECS service not meeting the performance needs of its workloads.ECSServiceRecommendation.BuildercurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)The risk of the current Amazon ECS service not meeting the performance needs of its workloads.default ECSServiceRecommendation.BuildercurrentServiceConfiguration(Consumer<ServiceConfiguration.Builder> currentServiceConfiguration)The configuration of the current Amazon ECS service.ECSServiceRecommendation.BuildercurrentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)The configuration of the current Amazon ECS service.default ECSServiceRecommendation.BuildereffectiveRecommendationPreferences(Consumer<ECSEffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)Describes the effective recommendation preferences for Amazon ECS services.ECSServiceRecommendation.BuildereffectiveRecommendationPreferences(ECSEffectiveRecommendationPreferences effectiveRecommendationPreferences)Describes the effective recommendation preferences for Amazon ECS services.ECSServiceRecommendation.Builderfinding(String finding)The finding classification of an Amazon ECS service.ECSServiceRecommendation.Builderfinding(ECSServiceRecommendationFinding finding)The finding classification of an Amazon ECS service.ECSServiceRecommendation.BuilderfindingReasonCodes(Collection<ECSServiceRecommendationFindingReasonCode> findingReasonCodes)The reason for the finding classification of an Amazon ECS service.ECSServiceRecommendation.BuilderfindingReasonCodes(ECSServiceRecommendationFindingReasonCode... findingReasonCodes)The reason for the finding classification of an Amazon ECS service.ECSServiceRecommendation.BuilderfindingReasonCodesWithStrings(String... findingReasonCodes)The reason for the finding classification of an Amazon ECS service.ECSServiceRecommendation.BuilderfindingReasonCodesWithStrings(Collection<String> findingReasonCodes)The reason for the finding classification of an Amazon ECS service.ECSServiceRecommendation.BuilderlastRefreshTimestamp(Instant lastRefreshTimestamp)The timestamp of when the Amazon ECS service recommendation was last generated.ECSServiceRecommendation.BuilderlaunchType(String launchType)The launch type the Amazon ECS service is using.ECSServiceRecommendation.BuilderlaunchType(ECSServiceLaunchType launchType)The launch type the Amazon ECS service is using.ECSServiceRecommendation.BuilderlookbackPeriodInDays(Double lookbackPeriodInDays)The number of days the Amazon ECS service utilization metrics were analyzed.ECSServiceRecommendation.BuilderserviceArn(String serviceArn)The Amazon Resource Name (ARN) of the current Amazon ECS service.ECSServiceRecommendation.BuilderserviceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon ECS service.ECSServiceRecommendation.BuilderserviceRecommendationOptions(Consumer<ECSServiceRecommendationOption.Builder>... serviceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon ECS service.ECSServiceRecommendation.BuilderserviceRecommendationOptions(ECSServiceRecommendationOption... serviceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon ECS service.ECSServiceRecommendation.Buildertags(Collection<Tag> tags)A list of tags assigned to your Amazon ECS service recommendations.ECSServiceRecommendation.Buildertags(Consumer<Tag.Builder>... tags)A list of tags assigned to your Amazon ECS service recommendations.ECSServiceRecommendation.Buildertags(Tag... tags)A list of tags assigned to your Amazon ECS service recommendations.ECSServiceRecommendation.BuilderutilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon ECS service.ECSServiceRecommendation.BuilderutilizationMetrics(Consumer<ECSServiceUtilizationMetric.Builder>... utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon ECS service.ECSServiceRecommendation.BuilderutilizationMetrics(ECSServiceUtilizationMetric... utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon ECS service.-
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 Detail
-
serviceArn
ECSServiceRecommendation.Builder serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name- Parameters:
serviceArn- The Amazon Resource Name (ARN) of the current Amazon ECS service.The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
ECSServiceRecommendation.Builder accountId(String accountId)
The Amazon Web Services account ID of the Amazon ECS service.
- Parameters:
accountId- The Amazon Web Services account ID of the Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentServiceConfiguration
ECSServiceRecommendation.Builder currentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)
The configuration of the current Amazon ECS service.
- Parameters:
currentServiceConfiguration- The configuration of the current Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentServiceConfiguration
default ECSServiceRecommendation.Builder currentServiceConfiguration(Consumer<ServiceConfiguration.Builder> currentServiceConfiguration)
The configuration of the current Amazon ECS service.
This is a convenience method that creates an instance of theServiceConfiguration.Builderavoiding the need to create one manually viaServiceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentServiceConfiguration(ServiceConfiguration).- Parameters:
currentServiceConfiguration- a consumer that will call methods onServiceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
currentServiceConfiguration(ServiceConfiguration)
-
utilizationMetrics
ECSServiceRecommendation.Builder utilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
- Parameters:
utilizationMetrics- An array of objects that describe the utilization metrics of the Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
ECSServiceRecommendation.Builder utilizationMetrics(ECSServiceUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
- Parameters:
utilizationMetrics- An array of objects that describe the utilization metrics of the Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
ECSServiceRecommendation.Builder utilizationMetrics(Consumer<ECSServiceUtilizationMetric.Builder>... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
This is a convenience method that creates an instance of theECSServiceUtilizationMetric.Builderavoiding the need to create one manually viaECSServiceUtilizationMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#utilizationMetrics(List.) - Parameters:
utilizationMetrics- a consumer that will call methods onECSServiceUtilizationMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#utilizationMetrics(java.util.Collection)
-
lookbackPeriodInDays
ECSServiceRecommendation.Builder lookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon ECS service utilization metrics were analyzed.
- Parameters:
lookbackPeriodInDays- The number of days the Amazon ECS service utilization metrics were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchType
ECSServiceRecommendation.Builder launchType(String launchType)
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
- Parameters:
launchType- The launch type the Amazon ECS service is using.Compute Optimizer only supports the Fargate launch type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ECSServiceLaunchType,ECSServiceLaunchType
-
launchType
ECSServiceRecommendation.Builder launchType(ECSServiceLaunchType launchType)
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
- Parameters:
launchType- The launch type the Amazon ECS service is using.Compute Optimizer only supports the Fargate launch type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ECSServiceLaunchType,ECSServiceLaunchType
-
lastRefreshTimestamp
ECSServiceRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the Amazon ECS service recommendation was last generated.
- Parameters:
lastRefreshTimestamp- The timestamp of when the Amazon ECS service recommendation was last generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finding
ECSServiceRecommendation.Builder finding(String finding)
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance. -
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs. -
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
finding- The finding classification of an Amazon ECS service.Findings for Amazon ECS services include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance. -
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs. -
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ECSServiceRecommendationFinding,ECSServiceRecommendationFinding
-
-
finding
ECSServiceRecommendation.Builder finding(ECSServiceRecommendationFinding finding)
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance. -
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs. -
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
finding- The finding classification of an Amazon ECS service.Findings for Amazon ECS services include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance. -
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs. -
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ECSServiceRecommendationFinding,ECSServiceRecommendationFinding
-
-
findingReasonCodesWithStrings
ECSServiceRecommendation.Builder findingReasonCodesWithStrings(Collection<String> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
- Parameters:
findingReasonCodes- The reason for the finding classification of an Amazon ECS service.Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodesWithStrings
ECSServiceRecommendation.Builder findingReasonCodesWithStrings(String... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
- Parameters:
findingReasonCodes- The reason for the finding classification of an Amazon ECS service.Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodes
ECSServiceRecommendation.Builder findingReasonCodes(Collection<ECSServiceRecommendationFindingReasonCode> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
- Parameters:
findingReasonCodes- The reason for the finding classification of an Amazon ECS service.Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodes
ECSServiceRecommendation.Builder findingReasonCodes(ECSServiceRecommendationFindingReasonCode... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
- Parameters:
findingReasonCodes- The reason for the finding classification of an Amazon ECS service.Finding reason codes for Amazon ECS services include:
-
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period. -
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period. -
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
serviceRecommendationOptions
ECSServiceRecommendation.Builder serviceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
- Parameters:
serviceRecommendationOptions- An array of objects that describe the recommendation options for the Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRecommendationOptions
ECSServiceRecommendation.Builder serviceRecommendationOptions(ECSServiceRecommendationOption... serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
- Parameters:
serviceRecommendationOptions- An array of objects that describe the recommendation options for the Amazon ECS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRecommendationOptions
ECSServiceRecommendation.Builder serviceRecommendationOptions(Consumer<ECSServiceRecommendationOption.Builder>... serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
This is a convenience method that creates an instance of theECSServiceRecommendationOption.Builderavoiding the need to create one manually viaECSServiceRecommendationOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceRecommendationOptions(List.) - Parameters:
serviceRecommendationOptions- a consumer that will call methods onECSServiceRecommendationOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceRecommendationOptions(java.util.Collection)
-
currentPerformanceRisk
ECSServiceRecommendation.Builder currentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
- Parameters:
currentPerformanceRisk- The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrentPerformanceRisk,CurrentPerformanceRisk
-
currentPerformanceRisk
ECSServiceRecommendation.Builder currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
- Parameters:
currentPerformanceRisk- The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrentPerformanceRisk,CurrentPerformanceRisk
-
tags
ECSServiceRecommendation.Builder tags(Collection<Tag> tags)
A list of tags assigned to your Amazon ECS service recommendations.
- Parameters:
tags- A list of tags assigned to your Amazon ECS service recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ECSServiceRecommendation.Builder tags(Tag... tags)
A list of tags assigned to your Amazon ECS service recommendations.
- Parameters:
tags- A list of tags assigned to your Amazon ECS service recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ECSServiceRecommendation.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to your Amazon ECS service recommendations.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
effectiveRecommendationPreferences
ECSServiceRecommendation.Builder effectiveRecommendationPreferences(ECSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon ECS services.
- Parameters:
effectiveRecommendationPreferences- Describes the effective recommendation preferences for Amazon ECS services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveRecommendationPreferences
default ECSServiceRecommendation.Builder effectiveRecommendationPreferences(Consumer<ECSEffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon ECS services.
This is a convenience method that creates an instance of theECSEffectiveRecommendationPreferences.Builderavoiding the need to create one manually viaECSEffectiveRecommendationPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeffectiveRecommendationPreferences(ECSEffectiveRecommendationPreferences).- Parameters:
effectiveRecommendationPreferences- a consumer that will call methods onECSEffectiveRecommendationPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
effectiveRecommendationPreferences(ECSEffectiveRecommendationPreferences)
-
-