@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GpuInfo extends Object implements Serializable, Cloneable
Describes the GPU accelerators for the instance type.
Constructor and Description |
---|
GpuInfo() |
Modifier and Type | Method and Description |
---|---|
GpuInfo |
clone() |
boolean |
equals(Object obj) |
List<GpuDeviceInfo> |
getGpus()
Describes the GPU accelerators for the instance type.
|
Integer |
getTotalGpuMemoryInMiB()
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
int |
hashCode() |
void |
setGpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
|
void |
setTotalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
String |
toString()
Returns a string representation of this object.
|
GpuInfo |
withGpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo |
withGpus(GpuDeviceInfo... gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo |
withTotalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
public List<GpuDeviceInfo> getGpus()
Describes the GPU accelerators for the instance type.
public void setGpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
gpus
- Describes the GPU accelerators for the instance type.public GpuInfo withGpus(GpuDeviceInfo... gpus)
Describes the GPU accelerators for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setGpus(java.util.Collection)
or withGpus(java.util.Collection)
if you want to override the
existing values.
gpus
- Describes the GPU accelerators for the instance type.public GpuInfo withGpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
gpus
- Describes the GPU accelerators for the instance type.public void setTotalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
totalGpuMemoryInMiB
- The total size of the memory for the GPU accelerators for the instance type, in MiB.public Integer getTotalGpuMemoryInMiB()
The total size of the memory for the GPU accelerators for the instance type, in MiB.
public GpuInfo withTotalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
totalGpuMemoryInMiB
- The total size of the memory for the GPU accelerators for the instance type, in MiB.public String toString()
toString
in class Object
Object.toString()