Interface RecommendedOptionProjectedMetric.Builder

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

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

    • recommendedInstanceType

      RecommendedOptionProjectedMetric.Builder recommendedInstanceType(String 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 as 1 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 as 1 in the same response.

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to projectedMetrics(List<ProjectedMetric>).

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