public final class CreateNodePoolRequest
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 |
|---|
CreateNodePoolRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateNodePoolRequest |
clone() |
java.lang.String |
getClusterId()
Required.
|
NodePool |
getNodePool()
Required.
|
java.lang.String |
getParent()
The parent (project, location, cluster id) where the node pool will be created.
|
java.lang.String |
getProjectId()
Required.
|
java.lang.String |
getZone()
Required.
|
CreateNodePoolRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateNodePoolRequest |
setClusterId(java.lang.String clusterId)
Required.
|
CreateNodePoolRequest |
setNodePool(NodePool nodePool)
Required.
|
CreateNodePoolRequest |
setParent(java.lang.String parent)
The parent (project, location, cluster id) where the node pool will be created.
|
CreateNodePoolRequest |
setProjectId(java.lang.String projectId)
Required.
|
CreateNodePoolRequest |
setZone(java.lang.String zone)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getClusterId()
null for nonepublic CreateNodePoolRequest setClusterId(java.lang.String clusterId)
clusterId - clusterId or null for nonepublic NodePool getNodePool()
null for nonepublic CreateNodePoolRequest setNodePool(NodePool nodePool)
nodePool - nodePool or null for nonepublic java.lang.String getParent()
null for nonepublic CreateNodePoolRequest setParent(java.lang.String parent)
parent - parent or null for nonepublic java.lang.String getProjectId()
null for nonepublic CreateNodePoolRequest setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic java.lang.String getZone()
null for nonepublic CreateNodePoolRequest setZone(java.lang.String zone)
zone - zone or null for nonepublic CreateNodePoolRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CreateNodePoolRequest clone()
clone in class com.google.api.client.json.GenericJson