@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GpuInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes the GPU accelerator settings for the instance type.
Constructor and Description |
---|
GpuInfo() |
Modifier and Type | Method and Description |
---|---|
GpuInfo |
clone() |
boolean |
equals(Object obj) |
List<Gpu> |
getGpus()
Describes the GPU accelerators for the instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGpus(Collection<Gpu> gpus)
Describes the GPU accelerators for the instance type.
|
String |
toString()
Returns a string representation of this object.
|
GpuInfo |
withGpus(Collection<Gpu> gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo |
withGpus(Gpu... gpus)
Describes the GPU accelerators for the instance type.
|
public List<Gpu> getGpus()
Describes the GPU accelerators for the instance type.
public void setGpus(Collection<Gpu> gpus)
Describes the GPU accelerators for the instance type.
gpus
- Describes the GPU accelerators for the instance type.public GpuInfo withGpus(Gpu... 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<Gpu> gpus)
Describes the GPU accelerators for the instance type.
gpus
- Describes the GPU accelerators for the instance type.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.