public final class CreateClusterRequest
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 |
|---|
CreateClusterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest |
clone() |
Cluster |
getCluster()
A [cluster resource](/container-engine/reference/rest/v1beta1/projects.zones.clusters)
|
java.lang.String |
getParent()
The parent (project and location) where the cluster will be created.
|
java.lang.String |
getProjectId()
Deprecated.
|
java.lang.String |
getZone()
Deprecated.
|
CreateClusterRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
CreateClusterRequest |
setCluster(Cluster cluster)
A [cluster resource](/container-engine/reference/rest/v1beta1/projects.zones.clusters)
|
CreateClusterRequest |
setParent(java.lang.String parent)
The parent (project and location) where the cluster will be created.
|
CreateClusterRequest |
setProjectId(java.lang.String projectId)
Deprecated.
|
CreateClusterRequest |
setZone(java.lang.String zone)
Deprecated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Cluster getCluster()
null for nonepublic CreateClusterRequest setCluster(Cluster cluster)
cluster - cluster or null for nonepublic java.lang.String getParent()
null for nonepublic CreateClusterRequest setParent(java.lang.String parent)
parent - parent or null for nonepublic java.lang.String getProjectId()
null for nonepublic CreateClusterRequest setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic java.lang.String getZone()
null for nonepublic CreateClusterRequest setZone(java.lang.String zone)
zone - zone or null for nonepublic CreateClusterRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CreateClusterRequest clone()
clone in class com.google.api.client.json.GenericJson