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 Google 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()
The name of the cluster.
|
NodePool |
getNodePool()
The node pool to create.
|
java.lang.String |
getParent()
The parent (project, location, cluster id) where the node pool will be created.
|
java.lang.String |
getProjectId()
The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
|
java.lang.String |
getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
cluster resides.
|
CreateNodePoolRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateNodePoolRequest |
setClusterId(java.lang.String clusterId)
The name of the cluster.
|
CreateNodePoolRequest |
setNodePool(NodePool nodePool)
The node pool to create.
|
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)
The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
|
CreateNodePoolRequest |
setZone(java.lang.String zone)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the
cluster resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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