Class VCpuCountRange
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.VCpuCountRange
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VCpuCountRange.Builder,VCpuCountRange>
@Generated("software.amazon.awssdk:codegen") public final class VCpuCountRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VCpuCountRange.Builder,VCpuCountRange>
The minimum and maximum number of vCPUs.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VCpuCountRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VCpuCountRange.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
max()
The maximum number of vCPUs.Integer
min()
The minimum number of vCPUs.List<SdkField<?>>
sdkFields()
static Class<? extends VCpuCountRange.Builder>
serializableBuilderClass()
VCpuCountRange.Builder
toBuilder()
String
toString()
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. If the value is
0
, there is no minimum limit.- Returns:
- The minimum number of vCPUs. If the value is
0
, there is no minimum limit.
-
max
public final Integer max()
The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.
- Returns:
- The maximum number of vCPUs. If this parameter is not specified, there is no maximum limit.
-
toBuilder
public VCpuCountRange.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VCpuCountRange.Builder,VCpuCountRange>
-
builder
public static VCpuCountRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends VCpuCountRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-