@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NeuronInfo extends Object implements Serializable, Cloneable
Describes the neuron accelerators for the instance type.
Constructor and Description |
---|
NeuronInfo() |
Modifier and Type | Method and Description |
---|---|
NeuronInfo |
clone() |
boolean |
equals(Object obj) |
List<NeuronDeviceInfo> |
getNeuronDevices()
Describes the neuron accelerators for the instance type.
|
Integer |
getTotalNeuronDeviceMemoryInMiB()
The total size of the memory for the neuron accelerators for the instance type, in MiB.
|
int |
hashCode() |
void |
setNeuronDevices(Collection<NeuronDeviceInfo> neuronDevices)
Describes the neuron accelerators for the instance type.
|
void |
setTotalNeuronDeviceMemoryInMiB(Integer totalNeuronDeviceMemoryInMiB)
The total size of the memory for the neuron accelerators for the instance type, in MiB.
|
String |
toString()
Returns a string representation of this object.
|
NeuronInfo |
withNeuronDevices(Collection<NeuronDeviceInfo> neuronDevices)
Describes the neuron accelerators for the instance type.
|
NeuronInfo |
withNeuronDevices(NeuronDeviceInfo... neuronDevices)
Describes the neuron accelerators for the instance type.
|
NeuronInfo |
withTotalNeuronDeviceMemoryInMiB(Integer totalNeuronDeviceMemoryInMiB)
The total size of the memory for the neuron accelerators for the instance type, in MiB.
|
public List<NeuronDeviceInfo> getNeuronDevices()
Describes the neuron accelerators for the instance type.
public void setNeuronDevices(Collection<NeuronDeviceInfo> neuronDevices)
Describes the neuron accelerators for the instance type.
neuronDevices
- Describes the neuron accelerators for the instance type.public NeuronInfo withNeuronDevices(NeuronDeviceInfo... neuronDevices)
Describes the neuron accelerators for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setNeuronDevices(java.util.Collection)
or withNeuronDevices(java.util.Collection)
if you want
to override the existing values.
neuronDevices
- Describes the neuron accelerators for the instance type.public NeuronInfo withNeuronDevices(Collection<NeuronDeviceInfo> neuronDevices)
Describes the neuron accelerators for the instance type.
neuronDevices
- Describes the neuron accelerators for the instance type.public void setTotalNeuronDeviceMemoryInMiB(Integer totalNeuronDeviceMemoryInMiB)
The total size of the memory for the neuron accelerators for the instance type, in MiB.
totalNeuronDeviceMemoryInMiB
- The total size of the memory for the neuron accelerators for the instance type, in MiB.public Integer getTotalNeuronDeviceMemoryInMiB()
The total size of the memory for the neuron accelerators for the instance type, in MiB.
public NeuronInfo withTotalNeuronDeviceMemoryInMiB(Integer totalNeuronDeviceMemoryInMiB)
The total size of the memory for the neuron accelerators for the instance type, in MiB.
totalNeuronDeviceMemoryInMiB
- The total size of the memory for the neuron accelerators for the instance type, in MiB.public String toString()
toString
in class Object
Object.toString()
public NeuronInfo clone()