Interface VolumeRecommendation.Builder

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

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

    • volumeArn

      VolumeRecommendation.Builder volumeArn(String volumeArn)

      The Amazon Resource Name (ARN) of the current volume.

      Parameters:
      volumeArn - The Amazon Resource Name (ARN) of the current volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      VolumeRecommendation.Builder accountId(String accountId)

      The Amazon Web Services account ID of the volume.

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

      VolumeRecommendation.Builder currentConfiguration(VolumeConfiguration currentConfiguration)

      An array of objects that describe the current configuration of the volume.

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

      default VolumeRecommendation.Builder currentConfiguration(Consumer<VolumeConfiguration.Builder> currentConfiguration)

      An array of objects that describe the current configuration of the volume.

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

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

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

      The finding classification of the volume.

      Findings for volumes include:

      • NotOptimized —A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.

      • Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.

      Parameters:
      finding - The finding classification of the volume.

      Findings for volumes include:

      • NotOptimized —A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.

      • Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.

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

      The finding classification of the volume.

      Findings for volumes include:

      • NotOptimized —A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.

      • Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.

      Parameters:
      finding - The finding classification of the volume.

      Findings for volumes include:

      • NotOptimized —A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.

      • Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.

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

      VolumeRecommendation.Builder utilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)

      An array of objects that describe the utilization metrics of the volume.

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

      VolumeRecommendation.Builder utilizationMetrics(EBSUtilizationMetric... utilizationMetrics)

      An array of objects that describe the utilization metrics of the volume.

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

      VolumeRecommendation.Builder utilizationMetrics(Consumer<EBSUtilizationMetric.Builder>... utilizationMetrics)

      An array of objects that describe the utilization metrics of the volume.

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

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

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

      VolumeRecommendation.Builder lookBackPeriodInDays(Double lookBackPeriodInDays)

      The number of days for which utilization metrics were analyzed for the volume.

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

      VolumeRecommendation.Builder volumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)

      An array of objects that describe the recommendation options for the volume.

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

      VolumeRecommendation.Builder volumeRecommendationOptions(VolumeRecommendationOption... volumeRecommendationOptions)

      An array of objects that describe the recommendation options for the volume.

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

      VolumeRecommendation.Builder volumeRecommendationOptions(Consumer<VolumeRecommendationOption.Builder>... volumeRecommendationOptions)

      An array of objects that describe the recommendation options for the volume.

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

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

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

      VolumeRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)

      The timestamp of when the volume recommendation was last generated.

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

      VolumeRecommendation.Builder currentPerformanceRisk(String currentPerformanceRisk)

      The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.

      Parameters:
      currentPerformanceRisk - The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currentPerformanceRisk

      VolumeRecommendation.Builder currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)

      The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.

      Parameters:
      currentPerformanceRisk - The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A list of tags assigned to your Amazon EBS volume recommendations.

      Parameters:
      tags - A list of tags assigned to your Amazon EBS volume recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags assigned to your Amazon EBS volume recommendations.

      Parameters:
      tags - A list of tags assigned to your Amazon EBS volume recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags assigned to your Amazon EBS volume recommendations.

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

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

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