Interface VolumeRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VolumeRecommendation.Builder,
,VolumeRecommendation> SdkBuilder<VolumeRecommendation.Builder,
,VolumeRecommendation> SdkPojo
- Enclosing class:
VolumeRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the volume.default VolumeRecommendation.Builder
currentConfiguration
(Consumer<VolumeConfiguration.Builder> currentConfiguration) An array of objects that describe the current configuration of the volume.currentConfiguration
(VolumeConfiguration currentConfiguration) An array of objects that describe the current configuration of the volume.currentPerformanceRisk
(String currentPerformanceRisk) The risk of the current EBS volume not meeting the performance needs of its workloads.currentPerformanceRisk
(CurrentPerformanceRisk currentPerformanceRisk) The risk of the current EBS volume not meeting the performance needs of its workloads.The finding classification of the volume.finding
(EBSFinding finding) The finding classification of the volume.lastRefreshTimestamp
(Instant lastRefreshTimestamp) The timestamp of when the volume recommendation was last generated.lookBackPeriodInDays
(Double lookBackPeriodInDays) The number of days for which utilization metrics were analyzed for the volume.tags
(Collection<Tag> tags) A list of tags assigned to your Amazon EBS volume recommendations.tags
(Consumer<Tag.Builder>... tags) A list of tags assigned to your Amazon EBS volume recommendations.A list of tags assigned to your Amazon EBS volume recommendations.utilizationMetrics
(Collection<EBSUtilizationMetric> utilizationMetrics) An array of objects that describe the utilization metrics of the volume.utilizationMetrics
(Consumer<EBSUtilizationMetric.Builder>... utilizationMetrics) An array of objects that describe the utilization metrics of the volume.utilizationMetrics
(EBSUtilizationMetric... utilizationMetrics) An array of objects that describe the utilization metrics of the volume.The Amazon Resource Name (ARN) of the current volume.volumeRecommendationOptions
(Collection<VolumeRecommendationOption> volumeRecommendationOptions) An array of objects that describe the recommendation options for the volume.volumeRecommendationOptions
(Consumer<VolumeRecommendationOption.Builder>... volumeRecommendationOptions) An array of objects that describe the recommendation options for the volume.volumeRecommendationOptions
(VolumeRecommendationOption... volumeRecommendationOptions) An array of objects that describe the recommendation options for the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theVolumeConfiguration.Builder
avoiding the need to create one manually viaVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentConfiguration(VolumeConfiguration)
.- Parameters:
currentConfiguration
- a consumer that will call methods onVolumeConfiguration.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
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 theEBSUtilizationMetric.Builder
avoiding the need to create one manually viaEBSUtilizationMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toutilizationMetrics(List<EBSUtilizationMetric>)
.- Parameters:
utilizationMetrics
- a consumer that will call methods onEBSUtilizationMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theVolumeRecommendationOption.Builder
avoiding the need to create one manually viaVolumeRecommendationOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolumeRecommendationOptions(List<VolumeRecommendationOption>)
.- Parameters:
volumeRecommendationOptions
- a consumer that will call methods onVolumeRecommendationOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-