Class AcceleratorCountRequest
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.AcceleratorCountRequest
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AcceleratorCountRequest.Builder,AcceleratorCountRequest>
@Generated("software.amazon.awssdk:codegen") public final class AcceleratorCountRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AcceleratorCountRequest.Builder,AcceleratorCountRequest>
The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set
Max
to0
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AcceleratorCountRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceleratorCountRequest.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 accelerators.Integer
min()
The minimum number of accelerators.List<SdkField<?>>
sdkFields()
static Class<? extends AcceleratorCountRequest.Builder>
serializableBuilderClass()
AcceleratorCountRequest.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 accelerators. To specify no minimum limit, omit this parameter.
- Returns:
- The minimum number of accelerators. To specify no minimum limit, omit this parameter.
-
max
public final Integer max()
The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set
Max
to0
.- Returns:
- The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude
accelerator-enabled instance types, set
Max
to0
.
-
toBuilder
public AcceleratorCountRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AcceleratorCountRequest.Builder,AcceleratorCountRequest>
-
builder
public static AcceleratorCountRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceleratorCountRequest.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.
-
-