@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Gpu extends Object implements Serializable, Cloneable, StructuredPojo
Describes the GPU accelerators for the instance type.
| Constructor and Description |
|---|
Gpu() |
| Modifier and Type | Method and Description |
|---|---|
Gpu |
clone() |
boolean |
equals(Object obj) |
Integer |
getGpuCount()
The number of GPUs for the instance type.
|
Integer |
getGpuMemorySizeInMiB()
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGpuCount(Integer gpuCount)
The number of GPUs for the instance type.
|
void |
setGpuMemorySizeInMiB(Integer gpuMemorySizeInMiB)
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.
|
Gpu |
withGpuCount(Integer gpuCount)
The number of GPUs for the instance type.
|
Gpu |
withGpuMemorySizeInMiB(Integer gpuMemorySizeInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
public void setGpuCount(Integer gpuCount)
The number of GPUs for the instance type.
gpuCount - The number of GPUs for the instance type.public Integer getGpuCount()
The number of GPUs for the instance type.
public Gpu withGpuCount(Integer gpuCount)
The number of GPUs for the instance type.
gpuCount - The number of GPUs for the instance type.public void setGpuMemorySizeInMiB(Integer gpuMemorySizeInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
gpuMemorySizeInMiB - The total size of the memory for the GPU accelerators for the instance type, in MiB.public Integer getGpuMemorySizeInMiB()
The total size of the memory for the GPU accelerators for the instance type, in MiB.
public Gpu withGpuMemorySizeInMiB(Integer gpuMemorySizeInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
gpuMemorySizeInMiB - The total size of the memory for the GPU accelerators for the instance type, in MiB.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.