Interface VolumeRecommendation.Builder

    • Method Detail

      • 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.
      • finding

        VolumeRecommendation.Builder finding​(String 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:
        EBSFinding, EBSFinding
      • finding

        VolumeRecommendation.Builder finding​(EBSFinding 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:
        EBSFinding, EBSFinding
      • 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.
      • 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.
      • 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, CurrentPerformanceRisk
      • 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:
        CurrentPerformanceRisk, CurrentPerformanceRisk
      • tags

        VolumeRecommendation.Builder tags​(Collection<Tag> 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

        VolumeRecommendation.Builder tags​(Tag... 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

        VolumeRecommendation.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • effectiveRecommendationPreferences

        VolumeRecommendation.Builder effectiveRecommendationPreferences​(EBSEffectiveRecommendationPreferences effectiveRecommendationPreferences)

        Describes the effective recommendation preferences for Amazon EBS volume.

        Parameters:
        effectiveRecommendationPreferences - Describes the effective recommendation preferences for Amazon EBS volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.