@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.
|
int |
hashCode() |
void |
setAccelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public InferenceAcceleratorInfo clone()