@Generated(value="software.amazon.awssdk:codegen") public final class VolumeRecommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeRecommendation.Builder,VolumeRecommendation>
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeRecommendation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The AWS account ID of the volume.
|
static VolumeRecommendation.Builder |
builder() |
VolumeConfiguration |
currentConfiguration()
An array of objects that describe the current configuration of the volume.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
EBSFinding |
finding()
The finding classification of the volume.
|
String |
findingAsString()
The finding classification of the volume.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasUtilizationMetrics()
Returns true if the UtilizationMetrics property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasVolumeRecommendationOptions()
Returns true if the VolumeRecommendationOptions property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
Instant |
lastRefreshTimestamp()
The time stamp of when the volume recommendation was last refreshed.
|
Double |
lookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the volume.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeRecommendation.Builder> |
serializableBuilderClass() |
VolumeRecommendation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<EBSUtilizationMetric> |
utilizationMetrics()
An array of objects that describe the utilization metrics of the volume.
|
String |
volumeArn()
The Amazon Resource Name (ARN) of the current volume.
|
List<VolumeRecommendationOption> |
volumeRecommendationOptions()
An array of objects that describe the recommendation options for the volume.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String volumeArn()
The Amazon Resource Name (ARN) of the current volume.
public final String accountId()
The AWS account ID of the volume.
public final VolumeConfiguration currentConfiguration()
An array of objects that describe the current configuration of the volume.
public final 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.
If the service returns an enum value that is not available in the current SDK version, finding will
return EBSFinding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
findingAsString().
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.
EBSFindingpublic final String findingAsString()
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.
If the service returns an enum value that is not available in the current SDK version, finding will
return EBSFinding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
findingAsString().
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.
EBSFindingpublic final boolean hasUtilizationMetrics()
public final List<EBSUtilizationMetric> utilizationMetrics()
An array of objects that describe the utilization metrics of the volume.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUtilizationMetrics() to see if a value was sent in this field.
public final Double lookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the volume.
public final boolean hasVolumeRecommendationOptions()
public final List<VolumeRecommendationOption> volumeRecommendationOptions()
An array of objects that describe the recommendation options for the volume.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVolumeRecommendationOptions() to see if a value was sent in this field.
public final Instant lastRefreshTimestamp()
The time stamp of when the volume recommendation was last refreshed.
public VolumeRecommendation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VolumeRecommendation.Builder,VolumeRecommendation>public static VolumeRecommendation.Builder builder()
public static Class<? extends VolumeRecommendation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.