Interface AutoScalingGroupRecommendation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoScalingGroupRecommendation.Builder,AutoScalingGroupRecommendation>, SdkBuilder<AutoScalingGroupRecommendation.Builder,AutoScalingGroupRecommendation>, SdkPojo
Enclosing class:
AutoScalingGroupRecommendation

public static interface AutoScalingGroupRecommendation.Builder extends SdkPojo, CopyableBuilder<AutoScalingGroupRecommendation.Builder,AutoScalingGroupRecommendation>
  • Method Details

    • accountId

      The Amazon Web Services account ID of the Auto Scaling group.

      Parameters:
      accountId - The Amazon Web Services account ID of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingGroupArn

      AutoScalingGroupRecommendation.Builder autoScalingGroupArn(String autoScalingGroupArn)

      The Amazon Resource Name (ARN) of the Auto Scaling group.

      Parameters:
      autoScalingGroupArn - The Amazon Resource Name (ARN) of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingGroupName

      AutoScalingGroupRecommendation.Builder autoScalingGroupName(String autoScalingGroupName)

      The name of the Auto Scaling group.

      Parameters:
      autoScalingGroupName - The name of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • utilizationMetrics

      AutoScalingGroupRecommendation.Builder utilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)

      An array of objects that describe the utilization metrics of the Auto Scaling group.

      Parameters:
      utilizationMetrics - An array of objects that describe the utilization metrics of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • utilizationMetrics

      AutoScalingGroupRecommendation.Builder utilizationMetrics(UtilizationMetric... utilizationMetrics)

      An array of objects that describe the utilization metrics of the Auto Scaling group.

      Parameters:
      utilizationMetrics - An array of objects that describe the utilization metrics of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the UtilizationMetric.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<UtilizationMetric>).

      Parameters:
      utilizationMetrics - a consumer that will call methods on UtilizationMetric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lookBackPeriodInDays

      AutoScalingGroupRecommendation.Builder lookBackPeriodInDays(Double lookBackPeriodInDays)

      The number of days for which utilization metrics were analyzed for the Auto Scaling group.

      Parameters:
      lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentConfiguration

      AutoScalingGroupRecommendation.Builder currentConfiguration(AutoScalingGroupConfiguration currentConfiguration)

      An array of objects that describe the current configuration of the Auto Scaling group.

      Parameters:
      currentConfiguration - An array of objects that describe the current configuration of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentConfiguration

      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 the AutoScalingGroupConfiguration.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).

      Parameters:
      currentConfiguration - a consumer that will call methods on AutoScalingGroupConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommendationOptions

      An array of objects that describe the recommendation options for the Auto Scaling group.

      Parameters:
      recommendationOptions - An array of objects that describe the recommendation options for the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationOptions

      AutoScalingGroupRecommendation.Builder recommendationOptions(AutoScalingGroupRecommendationOption... recommendationOptions)

      An array of objects that describe the recommendation options for the Auto Scaling group.

      Parameters:
      recommendationOptions - An array of objects that describe the recommendation options for the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the AutoScalingGroupRecommendationOption.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<AutoScalingGroupRecommendationOption>).

      Parameters:
      recommendationOptions - a consumer that will call methods on AutoScalingGroupRecommendationOption.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastRefreshTimestamp

      AutoScalingGroupRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)

      The timestamp of when the Auto Scaling group recommendation was last generated.

      Parameters:
      lastRefreshTimestamp - The timestamp of when the Auto Scaling group recommendation was last generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentPerformanceRisk

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currentPerformanceRisk

      AutoScalingGroupRecommendation.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • effectiveRecommendationPreferences

      AutoScalingGroupRecommendation.Builder effectiveRecommendationPreferences(EffectiveRecommendationPreferences effectiveRecommendationPreferences)

      An object that describes the effective recommendation preferences for the Auto Scaling group.

      Parameters:
      effectiveRecommendationPreferences - An object that describes the effective recommendation preferences for the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • effectiveRecommendationPreferences

      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 the EffectiveRecommendationPreferences.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).

      Parameters:
      effectiveRecommendationPreferences - a consumer that will call methods on EffectiveRecommendationPreferences.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inferredWorkloadTypesWithStrings

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferredWorkloadTypesWithStrings

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferredWorkloadTypes

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferredWorkloadTypes

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentInstanceGpuInfo

      AutoScalingGroupRecommendation.Builder currentInstanceGpuInfo(GpuInfo currentInstanceGpuInfo)

      Describes the GPU accelerator settings for the current instance type of the Auto Scaling group.

      Parameters:
      currentInstanceGpuInfo - Describes the GPU accelerator settings for the current instance type of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentInstanceGpuInfo

      default AutoScalingGroupRecommendation.Builder currentInstanceGpuInfo(Consumer<GpuInfo.Builder> currentInstanceGpuInfo)

      Describes the GPU accelerator settings for the current instance type of the Auto Scaling group.

      This is a convenience method that creates an instance of the GpuInfo.Builder avoiding the need to create one manually via GpuInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to currentInstanceGpuInfo(GpuInfo).

      Parameters:
      currentInstanceGpuInfo - a consumer that will call methods on GpuInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: