public final class Cluster
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 Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
clone() |
java.lang.String |
getClusterApiVersion()
The API version of the Kubernetes master and kubelets running in this cluster.
|
java.lang.String |
getContainerIpv4Cidr()
[Output only] The IP addresses of the container pods in this cluster, in CIDR notation (e.g.
|
java.lang.String |
getCreationTimestamp()
[Output only] The time the cluster was created, in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this cluster.
|
java.lang.String |
getEndpoint()
[Output only] The IP address of this cluster's Kubernetes master.
|
MasterAuth |
getMasterAuth()
The HTTP basic authentication information for accessing the master.
|
java.lang.String |
getName()
The name of this cluster.
|
NodeConfig |
getNodeConfig()
The machine type and image to use for all nodes in this cluster.
|
java.lang.Integer |
getNodeRoutingPrefixSize()
[Output only] The size of the address space on each node for hosting containers.
|
java.lang.Integer |
getNumNodes()
The number of nodes to create in this cluster.
|
java.lang.String |
getServicesIpv4Cidr()
[Output only] The IP addresses of the Kubernetes services in this cluster, in CIDR notation
(e.g.
|
java.lang.String |
getStatus()
[Output only] The current status of this cluster.
|
java.lang.String |
getStatusMessage()
[Output only] Additional information about the current status of this cluster, if available.
|
java.lang.String |
getZone()
[Output only] The name of the Google Compute Engine zone in which the cluster resides.
|
Cluster |
set(java.lang.String fieldName,
java.lang.Object value) |
Cluster |
setClusterApiVersion(java.lang.String clusterApiVersion)
The API version of the Kubernetes master and kubelets running in this cluster.
|
Cluster |
setContainerIpv4Cidr(java.lang.String containerIpv4Cidr)
[Output only] The IP addresses of the container pods in this cluster, in CIDR notation (e.g.
|
Cluster |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output only] The time the cluster was created, in RFC3339 text format.
|
Cluster |
setDescription(java.lang.String description)
An optional description of this cluster.
|
Cluster |
setEndpoint(java.lang.String endpoint)
[Output only] The IP address of this cluster's Kubernetes master.
|
Cluster |
setMasterAuth(MasterAuth masterAuth)
The HTTP basic authentication information for accessing the master.
|
Cluster |
setName(java.lang.String name)
The name of this cluster.
|
Cluster |
setNodeConfig(NodeConfig nodeConfig)
The machine type and image to use for all nodes in this cluster.
|
Cluster |
setNodeRoutingPrefixSize(java.lang.Integer nodeRoutingPrefixSize)
[Output only] The size of the address space on each node for hosting containers.
|
Cluster |
setNumNodes(java.lang.Integer numNodes)
The number of nodes to create in this cluster.
|
Cluster |
setServicesIpv4Cidr(java.lang.String servicesIpv4Cidr)
[Output only] The IP addresses of the Kubernetes services in this cluster, in CIDR notation
(e.g.
|
Cluster |
setStatus(java.lang.String status)
[Output only] The current status of this cluster.
|
Cluster |
setStatusMessage(java.lang.String statusMessage)
[Output only] Additional information about the current status of this cluster, if available.
|
Cluster |
setZone(java.lang.String zone)
[Output only] The name of the Google Compute Engine zone in which the cluster resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getClusterApiVersion()
null for nonepublic Cluster setClusterApiVersion(java.lang.String clusterApiVersion)
clusterApiVersion - clusterApiVersion or null for nonepublic java.lang.String getContainerIpv4Cidr()
null for nonepublic Cluster setContainerIpv4Cidr(java.lang.String containerIpv4Cidr)
containerIpv4Cidr - containerIpv4Cidr or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic Cluster setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic Cluster setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getEndpoint()
null for nonepublic Cluster setEndpoint(java.lang.String endpoint)
endpoint - endpoint or null for nonepublic MasterAuth getMasterAuth()
null for nonepublic Cluster setMasterAuth(MasterAuth masterAuth)
masterAuth - masterAuth or null for nonepublic java.lang.String getName()
null for nonepublic Cluster setName(java.lang.String name)
name - name or null for nonepublic NodeConfig getNodeConfig()
null for nonepublic Cluster setNodeConfig(NodeConfig nodeConfig)
nodeConfig - nodeConfig or null for nonepublic java.lang.Integer getNodeRoutingPrefixSize()
null for nonepublic Cluster setNodeRoutingPrefixSize(java.lang.Integer nodeRoutingPrefixSize)
nodeRoutingPrefixSize - nodeRoutingPrefixSize or null for nonepublic java.lang.Integer getNumNodes()
null for nonepublic Cluster setNumNodes(java.lang.Integer numNodes)
numNodes - numNodes or null for nonepublic java.lang.String getServicesIpv4Cidr()
null for nonepublic Cluster setServicesIpv4Cidr(java.lang.String servicesIpv4Cidr)
servicesIpv4Cidr - servicesIpv4Cidr or null for nonepublic java.lang.String getStatus()
null for nonepublic Cluster setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.String getStatusMessage()
null for nonepublic Cluster setStatusMessage(java.lang.String statusMessage)
statusMessage - statusMessage or null for nonepublic java.lang.String getZone()
null for nonepublic Cluster setZone(java.lang.String zone)
zone - zone or null for nonepublic Cluster set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Cluster clone()
clone in class com.google.api.client.json.GenericJson