public static interface AutoScalingGroupRecommendation.Builder extends SdkPojo, CopyableBuilder<AutoScalingGroupRecommendation.Builder,AutoScalingGroupRecommendation>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingGroupRecommendation.Builder |
accountId(String accountId)
The Amazon Web Services account ID of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
autoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
currentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
|
default AutoScalingGroupRecommendation.Builder |
currentConfiguration(Consumer<AutoScalingGroupConfiguration.Builder> currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current Auto Scaling group not meeting the performance needs of its workloads.
|
AutoScalingGroupRecommendation.Builder |
currentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Auto Scaling group not meeting the performance needs of its workloads.
|
default AutoScalingGroupRecommendation.Builder |
effectiveRecommendationPreferences(Consumer<EffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)
An object that describes the effective recommendation preferences for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
effectiveRecommendationPreferences(EffectiveRecommendationPreferences effectiveRecommendationPreferences)
An object that describes the effective recommendation preferences for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
finding(Finding finding)
The finding classification of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
finding(String finding)
The finding classification of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
inferredWorkloadTypes(Collection<InferredWorkloadType> inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute
Optimizer.
|
AutoScalingGroupRecommendation.Builder |
inferredWorkloadTypes(InferredWorkloadType... inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute
Optimizer.
|
AutoScalingGroupRecommendation.Builder |
inferredWorkloadTypesWithStrings(Collection<String> inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute
Optimizer.
|
AutoScalingGroupRecommendation.Builder |
inferredWorkloadTypesWithStrings(String... inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute
Optimizer.
|
AutoScalingGroupRecommendation.Builder |
lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last generated.
|
AutoScalingGroupRecommendation.Builder |
lookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
recommendationOptions(AutoScalingGroupRecommendationOption... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
recommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
recommendationOptions(Consumer<AutoScalingGroupRecommendationOption.Builder>... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
utilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
utilizationMetrics(Consumer<UtilizationMetric.Builder>... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
AutoScalingGroupRecommendation.Builder |
utilizationMetrics(UtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoScalingGroupRecommendation.Builder accountId(String accountId)
The Amazon Web Services account ID of the Auto Scaling group.
accountId - The Amazon Web Services account ID of the Auto Scaling group.AutoScalingGroupRecommendation.Builder autoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupArn - The Amazon Resource Name (ARN) of the Auto Scaling group.AutoScalingGroupRecommendation.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.AutoScalingGroupRecommendation.Builder finding(String finding)
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized —An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized —An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance type.
For optimized resources, Compute Optimizer might recommend a new generation instance type.
finding - The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized —An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized —An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance
type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding,
FindingAutoScalingGroupRecommendation.Builder finding(Finding finding)
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized —An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized —An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance type.
For optimized resources, Compute Optimizer might recommend a new generation instance type.
finding - The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized —An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized —An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance
type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding,
FindingAutoScalingGroupRecommendation.Builder utilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
utilizationMetrics - An array of objects that describe the utilization metrics of the Auto Scaling group.AutoScalingGroupRecommendation.Builder utilizationMetrics(UtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
utilizationMetrics - An array of objects that describe the utilization metrics of the Auto Scaling group.AutoScalingGroupRecommendation.Builder utilizationMetrics(Consumer<UtilizationMetric.Builder>... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
This is a convenience method that creates an instance of theUtilizationMetric.Builder avoiding the need to
create one manually via
UtilizationMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #utilizationMetrics(List.
utilizationMetrics - a consumer that will call methods on
UtilizationMetric.Builder#utilizationMetrics(java.util.Collection) AutoScalingGroupRecommendation.Builder lookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the Auto Scaling group.AutoScalingGroupRecommendation.Builder currentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
currentConfiguration - An array of objects that describe the current configuration of the Auto Scaling group.default AutoScalingGroupRecommendation.Builder currentConfiguration(Consumer<AutoScalingGroupConfiguration.Builder> currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
This is a convenience method that creates an instance of theAutoScalingGroupConfiguration.Builder
avoiding the need to create one manually via AutoScalingGroupConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to currentConfiguration(AutoScalingGroupConfiguration).
currentConfiguration - a consumer that will call methods on AutoScalingGroupConfiguration.BuildercurrentConfiguration(AutoScalingGroupConfiguration)AutoScalingGroupRecommendation.Builder recommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
recommendationOptions - An array of objects that describe the recommendation options for the Auto Scaling group.AutoScalingGroupRecommendation.Builder recommendationOptions(AutoScalingGroupRecommendationOption... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
recommendationOptions - An array of objects that describe the recommendation options for the Auto Scaling group.AutoScalingGroupRecommendation.Builder recommendationOptions(Consumer<AutoScalingGroupRecommendationOption.Builder>... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
This is a convenience method that creates an instance of theAutoScalingGroupRecommendationOption.Builder
avoiding the need to create one manually via
AutoScalingGroupRecommendationOption.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #recommendationOptions(List.
recommendationOptions - a consumer that will call methods on
AutoScalingGroupRecommendationOption.Builder#recommendationOptions(java.util.Collection) AutoScalingGroupRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last generated.
lastRefreshTimestamp - The timestamp of when the Auto Scaling group recommendation was last generated.AutoScalingGroupRecommendation.Builder currentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.
currentPerformanceRisk - The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The
higher the risk, the more likely the current Auto Scaling group configuration has insufficient
capacity and cannot meet workload requirements.CurrentPerformanceRisk,
CurrentPerformanceRiskAutoScalingGroupRecommendation.Builder currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.
currentPerformanceRisk - The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The
higher the risk, the more likely the current Auto Scaling group configuration has insufficient
capacity and cannot meet workload requirements.CurrentPerformanceRisk,
CurrentPerformanceRiskAutoScalingGroupRecommendation.Builder effectiveRecommendationPreferences(EffectiveRecommendationPreferences effectiveRecommendationPreferences)
An object that describes the effective recommendation preferences for the Auto Scaling group.
effectiveRecommendationPreferences - An object that describes the effective recommendation preferences for the Auto Scaling group.default AutoScalingGroupRecommendation.Builder effectiveRecommendationPreferences(Consumer<EffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)
An object that describes the effective recommendation preferences for the Auto Scaling group.
This is a convenience method that creates an instance of theEffectiveRecommendationPreferences.Builder avoiding the need to create one manually via
EffectiveRecommendationPreferences.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
effectiveRecommendationPreferences(EffectiveRecommendationPreferences).
effectiveRecommendationPreferences - a consumer that will call methods on EffectiveRecommendationPreferences.BuildereffectiveRecommendationPreferences(EffectiveRecommendationPreferences)AutoScalingGroupRecommendation.Builder inferredWorkloadTypesWithStrings(Collection<String> inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
inferredWorkloadTypes - The applications that might be running on the instances in the Auto Scaling group as inferred by
Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
AutoScalingGroupRecommendation.Builder inferredWorkloadTypesWithStrings(String... inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
inferredWorkloadTypes - The applications that might be running on the instances in the Auto Scaling group as inferred by
Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
AutoScalingGroupRecommendation.Builder inferredWorkloadTypes(Collection<InferredWorkloadType> inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
inferredWorkloadTypes - The applications that might be running on the instances in the Auto Scaling group as inferred by
Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
AutoScalingGroupRecommendation.Builder inferredWorkloadTypes(InferredWorkloadType... inferredWorkloadTypes)
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
inferredWorkloadTypes - The applications that might be running on the instances in the Auto Scaling group as inferred by
Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr - Infers that Amazon EMR might be running on the instances.
ApacheCassandra - Infers that Apache Cassandra might be running on the instances.
ApacheHadoop - Infers that Apache Hadoop might be running on the instances.
Memcached - Infers that Memcached might be running on the instances.
NGINX - Infers that NGINX might be running on the instances.
PostgreSql - Infers that PostgreSQL might be running on the instances.
Redis - Infers that Redis might be running on the instances.
Kafka - Infers that Kafka might be running on the instance.
SQLServer - Infers that SQLServer might be running on the instance.
Copyright © 2023. All rights reserved.