public static interface VolumeRecommendation.Builder extends SdkPojo, CopyableBuilder<VolumeRecommendation.Builder,VolumeRecommendation>
| Modifier and Type | Method and Description |
|---|---|
VolumeRecommendation.Builder |
accountId(String accountId)
The AWS 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 |
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 time stamp of when the volume recommendation was last refreshed.
|
VolumeRecommendation.Builder |
lookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
|
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 AWS account ID of the volume.
accountId - The AWS 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 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 AWS 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 AWS 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 AWS 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 AWS 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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #utilizationMetrics(List) .utilizationMetrics - a consumer that will call methods on List.Builder #utilizationMetrics(List) 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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #volumeRecommendationOptions(List) .volumeRecommendationOptions - a consumer that will call methods on List.Builder #volumeRecommendationOptions(List) VolumeRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The time stamp of when the volume recommendation was last refreshed.
lastRefreshTimestamp - The time stamp of when the volume recommendation was last refreshed.Copyright © 2021. All rights reserved.