@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.LambdaFunctionMemoryMetricName
public String getName()
The name of the projected utilization metric.
LambdaFunctionMemoryMetricName
public LambdaFunctionMemoryProjectedMetric withName(String name)
The name of the projected utilization metric.
name
- The name of the projected utilization metric.LambdaFunctionMemoryMetricName
public LambdaFunctionMemoryProjectedMetric withName(LambdaFunctionMemoryMetricName name)
The name of the projected utilization metric.
name
- The name of the projected utilization metric.LambdaFunctionMemoryMetricName
public void setStatistic(String statistic)
The statistic of the projected utilization metric.
statistic
- The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatistic
public String getStatistic()
The statistic of the projected utilization metric.
LambdaFunctionMemoryMetricStatistic
public LambdaFunctionMemoryProjectedMetric withStatistic(String statistic)
The statistic of the projected utilization metric.
statistic
- The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatistic
public LambdaFunctionMemoryProjectedMetric withStatistic(LambdaFunctionMemoryMetricStatistic statistic)
The statistic of the projected utilization metric.
statistic
- The statistic of the projected utilization metric.LambdaFunctionMemoryMetricStatistic
public 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 Object
Object.toString()
public LambdaFunctionMemoryProjectedMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.