@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaFunctionMemoryProjectedMetric extends Object implements Serializable, Cloneable, StructuredPojo
Describes a projected utilization metric of an AWS Lambda function recommendation option.
| Constructor and Description | 
|---|
LambdaFunctionMemoryProjectedMetric()  | 
| Modifier and Type | Method and Description | 
|---|---|
LambdaFunctionMemoryProjectedMetric | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getName()
 The name of the projected utilization metric. 
 | 
String | 
getStatistic()
 The statistic of the projected utilization metric. 
 | 
Double | 
getValue()
 The values of the projected utilization metrics. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setName(String name)
 The name of the projected utilization metric. 
 | 
void | 
setStatistic(String statistic)
 The statistic of the projected utilization metric. 
 | 
void | 
setValue(Double value)
 The values of the projected utilization metrics. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
LambdaFunctionMemoryProjectedMetric | 
withName(LambdaFunctionMemoryMetricName name)
 The name of the projected utilization metric. 
 | 
LambdaFunctionMemoryProjectedMetric | 
withName(String name)
 The name of the projected utilization metric. 
 | 
LambdaFunctionMemoryProjectedMetric | 
withStatistic(LambdaFunctionMemoryMetricStatistic statistic)
 The statistic of the projected utilization metric. 
 | 
LambdaFunctionMemoryProjectedMetric | 
withStatistic(String statistic)
 The statistic of the projected utilization metric. 
 | 
LambdaFunctionMemoryProjectedMetric | 
withValue(Double value)
 The values of the projected utilization metrics. 
 | 
public void setName(String name)
The name of the projected utilization metric.
name - The name of the projected utilization metric.LambdaFunctionMemoryMetricNamepublic String getName()
The name of the projected utilization metric.
LambdaFunctionMemoryMetricNamepublic LambdaFunctionMemoryProjectedMetric withName(String name)
The name of the projected utilization metric.
name - The name of the projected utilization metric.LambdaFunctionMemoryMetricNamepublic LambdaFunctionMemoryProjectedMetric withName(LambdaFunctionMemoryMetricName name)
The name of the projected utilization metric.
name - The name of the projected utilization metric.LambdaFunctionMemoryMetricNamepublic void setStatistic(String statistic)
The statistic of the projected utilization metric.
statistic - The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatisticpublic String getStatistic()
The statistic of the projected utilization metric.
LambdaFunctionMemoryMetricStatisticpublic LambdaFunctionMemoryProjectedMetric withStatistic(String statistic)
The statistic of the projected utilization metric.
statistic - The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatisticpublic LambdaFunctionMemoryProjectedMetric withStatistic(LambdaFunctionMemoryMetricStatistic statistic)
The statistic of the projected utilization metric.
statistic - The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatisticpublic void setValue(Double value)
The values of the projected utilization metrics.
value - The values of the projected utilization metrics.public Double getValue()
The values of the projected utilization metrics.
public LambdaFunctionMemoryProjectedMetric withValue(Double value)
The values of the projected utilization metrics.
value - The values of the projected utilization metrics.public String toString()
toString in class ObjectObject.toString()public LambdaFunctionMemoryProjectedMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.