public final class AcceleratorConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
AcceleratorConfig() |
| Modifier and Type | Method and Description |
|---|---|
AcceleratorConfig |
clone() |
java.lang.Long |
getAcceleratorCount()
The number of the accelerator cards exposed to an instance.
|
java.lang.String |
getAcceleratorType()
The accelerator type resource name.
|
AcceleratorConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
AcceleratorConfig |
setAcceleratorCount(java.lang.Long acceleratorCount)
The number of the accelerator cards exposed to an instance.
|
AcceleratorConfig |
setAcceleratorType(java.lang.String acceleratorType)
The accelerator type resource name.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Long getAcceleratorCount()
null for nonepublic AcceleratorConfig setAcceleratorCount(java.lang.Long acceleratorCount)
acceleratorCount - acceleratorCount or null for nonepublic java.lang.String getAcceleratorType()
null for nonepublic AcceleratorConfig setAcceleratorType(java.lang.String acceleratorType)
acceleratorType - acceleratorType or null for nonepublic AcceleratorConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AcceleratorConfig clone()
clone in class com.google.api.client.json.GenericJson