/* * 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 projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents * the projected utilization of a recommendation option had you used that resource during the analyzed period. *

*

* 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. *

* *

* The Cpu and Memory metrics are the only projected utilization metrics returned when you run * the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only * for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with * the CloudWatch Agent. *

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

* The name of the projected utilization metric. *

*

* The following projected utilization metrics are returned: *

* */ private String name; /** *

* The timestamps of the projected utilization metric. *

*/ private java.util.List timestamps; /** *

* The values of the projected utilization metrics. *

*/ private java.util.List values; /** *

* The name of the projected utilization metric. *

*

* The following projected utilization metrics are returned: *

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

*

* The following projected utilization metrics are returned: *

*