Class VCpuCountRangeRequest
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.VCpuCountRangeRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VCpuCountRangeRequest.Builder,VCpuCountRangeRequest>
@Generated("software.amazon.awssdk:codegen") public final class VCpuCountRangeRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VCpuCountRangeRequest.Builder,VCpuCountRangeRequest>
The minimum and maximum number of vCPUs for instance type selection. This allows you to specify a range of vCPU counts that meet your workload requirements.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVCpuCountRangeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VCpuCountRangeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integermax()The maximum number of vCPUs.Integermin()The minimum number of vCPUs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends VCpuCountRangeRequest.Builder>serializableBuilderClass()VCpuCountRangeRequest.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
-
min
public final Integer min()
The minimum number of vCPUs. Instance types with fewer vCPUs than this value are excluded from selection.
- Returns:
- The minimum number of vCPUs. Instance types with fewer vCPUs than this value are excluded from selection.
-
max
public final Integer max()
The maximum number of vCPUs. Instance types with more vCPUs than this value are excluded from selection.
- Returns:
- The maximum number of vCPUs. Instance types with more vCPUs than this value are excluded from selection.
-
toBuilder
public VCpuCountRangeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VCpuCountRangeRequest.Builder,VCpuCountRangeRequest>
-
builder
public static VCpuCountRangeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends VCpuCountRangeRequest.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
-
-