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()
Deprecated.
|
NodePool |
getNodePool()
Required.
|
java.lang.String |
getParent()
The parent (project, location, cluster id) where the node pool will be created.
|
java.lang.String |
getProjectId()
Deprecated.
|
java.lang.String |
getZone()
Deprecated.
|
CreateNodePoolRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateNodePoolRequest |
setClusterId(java.lang.String clusterId)
Deprecated.
|
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)
Deprecated.
|
CreateNodePoolRequest |
setZone(java.lang.String zone)
Deprecated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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.GenericJson
public CreateNodePoolRequest clone()
clone
in class com.google.api.client.json.GenericJson