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 |
getClusterIpv4Cidr()
The IP address range of the container pods in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
|
java.lang.String |
getCreateTime()
[Output only] The time the cluster was created, in
[RFC3339](href='https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.String |
getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
|
java.lang.String |
getCurrentNodeVersion()
[Output only] The current version of the node software components.
|
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 endpoint.
|
java.lang.String |
getInitialClusterVersion()
[Output only] The software version of Kubernetes master and kubelets used in the cluster when
it was first created.
|
java.lang.Integer |
getInitialNodeCount()
The number of nodes to create in this cluster.
|
java.util.List<java.lang.String> |
getInstanceGroupUrls()
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
java.lang.String |
getLoggingService()
The logging service that the cluster should write logs to.
|
MasterAuth |
getMasterAuth()
The authentication information for accessing the master.
|
java.lang.String |
getMonitoringService()
The monitoring service that the cluster should write metrics to.
|
java.lang.String |
getName()
The name of this cluster.
|
java.lang.String |
getNetwork()
The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which
the cluster is connected.
|
NodeConfig |
getNodeConfig()
Parameters used in creating the cluster's nodes.
|
java.lang.Integer |
getNodeIpv4CidrSize()
[Output only] The size of the address space on each node for hosting containers.
|
java.lang.String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
java.lang.String |
getServicesIpv4Cidr()
[Output only] The IP address range of the Kubernetes services in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) 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](/compute/docs/zones#available) in
which the cluster resides.
|
Cluster |
set(java.lang.String fieldName,
java.lang.Object value) |
Cluster |
setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr)
The IP address range of the container pods in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
|
Cluster |
setCreateTime(java.lang.String createTime)
[Output only] The time the cluster was created, in
[RFC3339](href='https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Cluster |
setCurrentMasterVersion(java.lang.String currentMasterVersion)
[Output only] The current software version of the master endpoint.
|
Cluster |
setCurrentNodeVersion(java.lang.String currentNodeVersion)
[Output only] The current version of the node software components.
|
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 endpoint.
|
Cluster |
setInitialClusterVersion(java.lang.String initialClusterVersion)
[Output only] The software version of Kubernetes master and kubelets used in the cluster when
it was first created.
|
Cluster |
setInitialNodeCount(java.lang.Integer initialNodeCount)
The number of nodes to create in this cluster.
|
Cluster |
setInstanceGroupUrls(java.util.List<java.lang.String> instanceGroupUrls)
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
Cluster |
setLoggingService(java.lang.String loggingService)
The logging service that the cluster should write logs to.
|
Cluster |
setMasterAuth(MasterAuth masterAuth)
The authentication information for accessing the master.
|
Cluster |
setMonitoringService(java.lang.String monitoringService)
The monitoring service that the cluster should write metrics to.
|
Cluster |
setName(java.lang.String name)
The name of this cluster.
|
Cluster |
setNetwork(java.lang.String network)
The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which
the cluster is connected.
|
Cluster |
setNodeConfig(NodeConfig nodeConfig)
Parameters used in creating the cluster's nodes.
|
Cluster |
setNodeIpv4CidrSize(java.lang.Integer nodeIpv4CidrSize)
[Output only] The size of the address space on each node for hosting containers.
|
Cluster |
setSelfLink(java.lang.String selfLink)
[Output only] Server-defined URL for the resource.
|
Cluster |
setServicesIpv4Cidr(java.lang.String servicesIpv4Cidr)
[Output only] The IP address range of the Kubernetes services in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) 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](/compute/docs/zones#available) in
which the cluster resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getClusterIpv4Cidr()
null for nonepublic Cluster setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr)
clusterIpv4Cidr - clusterIpv4Cidr or null for nonepublic java.lang.String getCreateTime()
null for nonepublic Cluster setCreateTime(java.lang.String createTime)
createTime - createTime or null for nonepublic java.lang.String getCurrentMasterVersion()
null for nonepublic Cluster setCurrentMasterVersion(java.lang.String currentMasterVersion)
currentMasterVersion - currentMasterVersion or null for nonepublic java.lang.String getCurrentNodeVersion()
null for nonepublic Cluster setCurrentNodeVersion(java.lang.String currentNodeVersion)
currentNodeVersion - currentNodeVersion 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 java.lang.String getInitialClusterVersion()
null for nonepublic Cluster setInitialClusterVersion(java.lang.String initialClusterVersion)
initialClusterVersion - initialClusterVersion or null for nonepublic java.lang.Integer getInitialNodeCount()
null for nonepublic Cluster setInitialNodeCount(java.lang.Integer initialNodeCount)
initialNodeCount - initialNodeCount or null for nonepublic java.util.List<java.lang.String> getInstanceGroupUrls()
null for nonepublic Cluster setInstanceGroupUrls(java.util.List<java.lang.String> instanceGroupUrls)
instanceGroupUrls - instanceGroupUrls or null for nonepublic java.lang.String getLoggingService()
null for nonepublic Cluster setLoggingService(java.lang.String loggingService)
loggingService - loggingService or null for nonepublic MasterAuth getMasterAuth()
null for nonepublic Cluster setMasterAuth(MasterAuth masterAuth)
masterAuth - masterAuth or null for nonepublic java.lang.String getMonitoringService()
null for nonepublic Cluster setMonitoringService(java.lang.String monitoringService)
monitoringService - monitoringService or null for nonepublic java.lang.String getName()
null for nonepublic Cluster setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getNetwork()
null for nonepublic Cluster setNetwork(java.lang.String network)
network - network or null for nonepublic NodeConfig getNodeConfig()
null for nonepublic Cluster setNodeConfig(NodeConfig nodeConfig)
nodeConfig - nodeConfig or null for nonepublic java.lang.Integer getNodeIpv4CidrSize()
null for nonepublic Cluster setNodeIpv4CidrSize(java.lang.Integer nodeIpv4CidrSize)
nodeIpv4CidrSize - nodeIpv4CidrSize or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Cluster setSelfLink(java.lang.String selfLink)
selfLink - selfLink 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