public static interface VolumeRecommendation.Builder extends SdkPojo, CopyableBuilder<VolumeRecommendation.Builder,VolumeRecommendation>
| Modifier and Type | Method and Description |
|---|---|
VolumeRecommendation.Builder |
accountId(String accountId)
The 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.
|
VolumeRecommendation.Builder |
currentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
|
VolumeRecommendation.Builder |
currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
VolumeRecommendation.Builder |
currentPerformanceRisk(String currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
VolumeRecommendation.Builder |
finding(EBSFinding finding)
The finding classification of the volume.
|
VolumeRecommendation.Builder |
finding(String finding)
The finding classification of the volume.
|
VolumeRecommendation.Builder |
lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
|
VolumeRecommendation.Builder |
lookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
|
VolumeRecommendation.Builder |
tags(Collection<Tag> tags)
A list of tags assigned to your Amazon EBS volume recommendations.
|
VolumeRecommendation.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to your Amazon EBS volume recommendations.
|
VolumeRecommendation.Builder |
tags(Tag... tags)
A list of tags assigned to your Amazon EBS volume recommendations.
|
VolumeRecommendation.Builder |
utilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
VolumeRecommendation.Builder |
utilizationMetrics(Consumer<EBSUtilizationMetric.Builder>... utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
VolumeRecommendation.Builder |
utilizationMetrics(EBSUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
VolumeRecommendation.Builder |
volumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
|
VolumeRecommendation.Builder |
volumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
VolumeRecommendation.Builder |
volumeRecommendationOptions(Consumer<VolumeRecommendationOption.Builder>... volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
VolumeRecommendation.Builder |
volumeRecommendationOptions(VolumeRecommendationOption... volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVolumeRecommendation.Builder volumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
volumeArn - The Amazon Resource Name (ARN) of the current volume.VolumeRecommendation.Builder accountId(String accountId)
The Amazon Web Services account ID of the volume.
accountId - The Amazon Web Services account ID of the volume.VolumeRecommendation.Builder currentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
currentConfiguration - An array of objects that describe the current configuration of the volume.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 via VolumeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to currentConfiguration(VolumeConfiguration).
currentConfiguration - a consumer that will call methods on VolumeConfiguration.BuildercurrentConfiguration(VolumeConfiguration)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.
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.
EBSFinding,
EBSFindingVolumeRecommendation.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.
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.
EBSFinding,
EBSFindingVolumeRecommendation.Builder utilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
utilizationMetrics - An array of objects that describe the utilization metrics of the volume.VolumeRecommendation.Builder utilizationMetrics(EBSUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
utilizationMetrics - An array of objects that describe the utilization metrics of the volume.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 via
EBSUtilizationMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #utilizationMetrics(List.
utilizationMetrics - a consumer that will call methods on
EBSUtilizationMetric.Builder#utilizationMetrics(java.util.Collection) VolumeRecommendation.Builder lookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the volume.VolumeRecommendation.Builder volumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
volumeRecommendationOptions - An array of objects that describe the recommendation options for the volume.VolumeRecommendation.Builder volumeRecommendationOptions(VolumeRecommendationOption... volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
volumeRecommendationOptions - An array of objects that describe the recommendation options for the volume.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 via
VolumeRecommendationOption.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #volumeRecommendationOptions(List.
volumeRecommendationOptions - a consumer that will call methods on
VolumeRecommendationOption.Builder#volumeRecommendationOptions(java.util.Collection) VolumeRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
lastRefreshTimestamp - The timestamp of when the volume recommendation was last generated.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.
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.CurrentPerformanceRisk,
CurrentPerformanceRiskVolumeRecommendation.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.
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.CurrentPerformanceRisk,
CurrentPerformanceRiskVolumeRecommendation.Builder tags(Collection<Tag> tags)
A list of tags assigned to your Amazon EBS volume recommendations.
tags - A list of tags assigned to your Amazon EBS volume recommendations.VolumeRecommendation.Builder tags(Tag... tags)
A list of tags assigned to your Amazon EBS volume recommendations.
tags - A list of tags assigned to your Amazon EBS volume recommendations.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 theTag.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.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.