/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.computeoptimizer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Describes a utilization metric of an Amazon Elastic Block Store (Amazon EBS) volume. *

*

* Compare the utilization metric data of your resource against its projected utilization metric data to determine the * performance difference between your current resource and the recommended option. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EBSUtilizationMetric implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the utilization metric. *

*

* The following utilization metrics are available: *

* */ private String name; /** *

* The statistic of the utilization metric. *

*

* The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the * Maximum statistic, which is the highest value observed during the specified period. *

*

* The Compute Optimizer console displays graphs for some utilization metrics using the Average * statistic, which is the value of Sum / SampleCount during the specified period. For * more information, see Viewing resource * recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data * for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch * User Guide. *

*/ private String statistic; /** *

* The value of the utilization metric. *

*/ private Double value; /** *

* The name of the utilization metric. *

*

* The following utilization metrics are available: *

* * * @param name * The name of the utilization metric.

*

* The following utilization metrics are available: *

*