Class BaselinePerformanceFactorsRequest
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.BaselinePerformanceFactorsRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>
@Generated("software.amazon.awssdk:codegen") public final class BaselinePerformanceFactorsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>
The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying
c6iwould use the CPU performance of thec6ifamily as the baseline reference.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBaselinePerformanceFactorsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BaselinePerformanceFactorsRequest.Builderbuilder()CpuPerformanceFactorRequestcpu()The CPU performance to consider, using an instance family as the baseline reference.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BaselinePerformanceFactorsRequest.Builder>serializableBuilderClass()BaselinePerformanceFactorsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cpu
public final CpuPerformanceFactorRequest cpu()
The CPU performance to consider, using an instance family as the baseline reference.
- Returns:
- The CPU performance to consider, using an instance family as the baseline reference.
-
toBuilder
public BaselinePerformanceFactorsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>
-
builder
public static BaselinePerformanceFactorsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends BaselinePerformanceFactorsRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-