@Generated(value="software.amazon.awssdk:codegen") public final class LambdaFunctionMemoryRecommendationOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaFunctionMemoryRecommendationOption.Builder,LambdaFunctionMemoryRecommendationOption>
Describes a recommendation option for an AWS Lambda function.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaFunctionMemoryRecommendationOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LambdaFunctionMemoryRecommendationOption.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProjectedUtilizationMetrics()
Returns true if the ProjectedUtilizationMetrics property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
Integer |
memorySize()
The memory size, in MB, of the function recommendation option.
|
List<LambdaFunctionMemoryProjectedMetric> |
projectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the function recommendation option.
|
Integer |
rank()
The rank of the function recommendation option.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaFunctionMemoryRecommendationOption.Builder> |
serializableBuilderClass() |
LambdaFunctionMemoryRecommendationOption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer rank()
The rank of the function recommendation option.
The top recommendation option is ranked as 1.
The top recommendation option is ranked as 1.
public final Integer memorySize()
The memory size, in MB, of the function recommendation option.
public final boolean hasProjectedUtilizationMetrics()
public final List<LambdaFunctionMemoryProjectedMetric> projectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the function recommendation option.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProjectedUtilizationMetrics() to see if a value was sent in this field.
public LambdaFunctionMemoryRecommendationOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LambdaFunctionMemoryRecommendationOption.Builder,LambdaFunctionMemoryRecommendationOption>public static LambdaFunctionMemoryRecommendationOption.Builder builder()
public static Class<? extends LambdaFunctionMemoryRecommendationOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.