@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceAcceleratorInfo extends Object implements Serializable, Cloneable
Describes the Inference accelerators for the instance type.
Constructor and Description |
---|
InferenceAcceleratorInfo() |
Modifier and Type | Method and Description |
---|---|
InferenceAcceleratorInfo |
clone() |
boolean |
equals(Object obj) |
List<InferenceDeviceInfo> |
getAccelerators()
Describes the Inference accelerators for the instance type.
|
Integer |
getTotalInferenceMemoryInMiB()
The total size of the memory for the inference accelerators for the instance type, in MiB.
|
int |
hashCode() |
void |
setAccelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
|
void |
setTotalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
|
String |
toString()
Returns a string representation of this object.
|
InferenceAcceleratorInfo |
withAccelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
|
InferenceAcceleratorInfo |
withAccelerators(InferenceDeviceInfo... accelerators)
Describes the Inference accelerators for the instance type.
|
InferenceAcceleratorInfo |
withTotalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
|
public List<InferenceDeviceInfo> getAccelerators()
Describes the Inference accelerators for the instance type.
public void setAccelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
accelerators
- Describes the Inference accelerators for the instance type.public InferenceAcceleratorInfo withAccelerators(InferenceDeviceInfo... accelerators)
Describes the Inference accelerators for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setAccelerators(java.util.Collection)
or withAccelerators(java.util.Collection)
if you want to
override the existing values.
accelerators
- Describes the Inference accelerators for the instance type.public InferenceAcceleratorInfo withAccelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
accelerators
- Describes the Inference accelerators for the instance type.public void setTotalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
totalInferenceMemoryInMiB
- The total size of the memory for the inference accelerators for the instance type, in MiB.public Integer getTotalInferenceMemoryInMiB()
The total size of the memory for the inference accelerators for the instance type, in MiB.
public InferenceAcceleratorInfo withTotalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
totalInferenceMemoryInMiB
- The total size of the memory for the inference accelerators for the instance type, in MiB.public String toString()
toString
in class Object
Object.toString()
public InferenceAcceleratorInfo clone()