Class GCPGPUConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.GCPGPUConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPGPUConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPGPUConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPGPUConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPGPUConfig describes type and count of GPUs attached to the instance on GCP.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPGPUConfig()No args constructor for use in serializationGCPGPUConfig(Integer count, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPGPUConfigBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetCount()count is the number of GPUs to be attached to an instance.StringgetType()type is the type of GPU to be attached to an instance.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCount(Integer count)count is the number of GPUs to be attached to an instance.voidsetType(String type)type is the type of GPU to be attached to an instance.GCPGPUConfigBuildertoBuilder()
-
-
-
Method Detail
-
getCount
public Integer getCount()
count is the number of GPUs to be attached to an instance.
-
setCount
public void setCount(Integer count)
count is the number of GPUs to be attached to an instance.
-
getType
public String getType()
type is the type of GPU to be attached to an instance. Supported GPU types are: nvidia-tesla-k80, nvidia-tesla-p100, nvidia-tesla-v100, nvidia-tesla-p4, nvidia-tesla-t4
-
setType
public void setType(String type)
type is the type of GPU to be attached to an instance. Supported GPU types are: nvidia-tesla-k80, nvidia-tesla-p100, nvidia-tesla-v100, nvidia-tesla-p4, nvidia-tesla-t4
-
edit
public GCPGPUConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPGPUConfigBuilder>
-
toBuilder
public GCPGPUConfigBuilder toBuilder()
-
-