public final class Cluster extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
clone() |
AddonsConfig |
getAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
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.
|
String |
getCreateTime()
[Output only] The time the cluster was created, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
String |
getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.
|
Integer |
getCurrentNodeCount()
[Output only] The number of nodes currently in the cluster.
|
String |
getCurrentNodeVersion()
[Output only] The current version of the node software components.
|
String |
getDescription()
An optional description of this cluster.
|
Boolean |
getEnableKubernetesAlpha()
Kubernetes alpha features are enabled on this cluster.
|
String |
getEndpoint()
[Output only] The IP address of this cluster's master endpoint.
|
String |
getExpireTime()
[Output only] The time the cluster will be automatically deleted in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
String |
getInitialClusterVersion()
The initial Kubernetes version for this cluster.
|
Integer |
getInitialNodeCount()
The number of nodes to create in this cluster.
|
List<String> |
getInstanceGroupUrls()
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
String |
getLabelFingerprint()
The fingerprint of the set of labels for this cluster.
|
LegacyAbac |
getLegacyAbac()
Configuration for the legacy ABAC authorization mode.
|
List<String> |
getLocations()
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the
cluster's nodes should be located.
|
String |
getLoggingService()
The logging service the cluster should use to write logs.
|
MasterAuth |
getMasterAuth()
The authentication information for accessing the master endpoint.
|
String |
getMonitoringService()
The monitoring service the cluster should use to write metrics.
|
String |
getName()
The name of this cluster.
|
String |
getNetwork()
The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks)
to which the cluster is connected.
|
NodeConfig |
getNodeConfig()
Parameters used in creating the cluster's nodes.
|
Integer |
getNodeIpv4CidrSize()
[Output only] The size of the address space on each node for hosting containers.
|
List<NodePool> |
getNodePools()
The node pools associated with this cluster.
|
Map<String,String> |
getResourceLabels()
The resource labels for the cluster to use to annotate any related GCE resources.
|
String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
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.
|
String |
getStatus()
[Output only] The current status of this cluster.
|
String |
getStatusMessage()
[Output only] Additional information about the current status of this cluster, if available.
|
String |
getSubnetwork()
The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the
cluster is connected.
|
String |
getZone()
[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
which the cluster resides.
|
Cluster |
set(String fieldName,
Object value) |
Cluster |
setAddonsConfig(AddonsConfig addonsConfig)
Configurations for the various addons available to run in the cluster.
|
Cluster |
setClusterIpv4Cidr(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(String createTime)
[Output only] The time the cluster was created, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Cluster |
setCurrentMasterVersion(String currentMasterVersion)
[Output only] The current software version of the master endpoint.
|
Cluster |
setCurrentNodeCount(Integer currentNodeCount)
[Output only] The number of nodes currently in the cluster.
|
Cluster |
setCurrentNodeVersion(String currentNodeVersion)
[Output only] The current version of the node software components.
|
Cluster |
setDescription(String description)
An optional description of this cluster.
|
Cluster |
setEnableKubernetesAlpha(Boolean enableKubernetesAlpha)
Kubernetes alpha features are enabled on this cluster.
|
Cluster |
setEndpoint(String endpoint)
[Output only] The IP address of this cluster's master endpoint.
|
Cluster |
setExpireTime(String expireTime)
[Output only] The time the cluster will be automatically deleted in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Cluster |
setInitialClusterVersion(String initialClusterVersion)
The initial Kubernetes version for this cluster.
|
Cluster |
setInitialNodeCount(Integer initialNodeCount)
The number of nodes to create in this cluster.
|
Cluster |
setInstanceGroupUrls(List<String> instanceGroupUrls)
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
Cluster |
setLabelFingerprint(String labelFingerprint)
The fingerprint of the set of labels for this cluster.
|
Cluster |
setLegacyAbac(LegacyAbac legacyAbac)
Configuration for the legacy ABAC authorization mode.
|
Cluster |
setLocations(List<String> locations)
The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the
cluster's nodes should be located.
|
Cluster |
setLoggingService(String loggingService)
The logging service the cluster should use to write logs.
|
Cluster |
setMasterAuth(MasterAuth masterAuth)
The authentication information for accessing the master endpoint.
|
Cluster |
setMonitoringService(String monitoringService)
The monitoring service the cluster should use to write metrics.
|
Cluster |
setName(String name)
The name of this cluster.
|
Cluster |
setNetwork(String network)
The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks)
to which the cluster is connected.
|
Cluster |
setNodeConfig(NodeConfig nodeConfig)
Parameters used in creating the cluster's nodes.
|
Cluster |
setNodeIpv4CidrSize(Integer nodeIpv4CidrSize)
[Output only] The size of the address space on each node for hosting containers.
|
Cluster |
setNodePools(List<NodePool> nodePools)
The node pools associated with this cluster.
|
Cluster |
setResourceLabels(Map<String,String> resourceLabels)
The resource labels for the cluster to use to annotate any related GCE resources.
|
Cluster |
setSelfLink(String selfLink)
[Output only] Server-defined URL for the resource.
|
Cluster |
setServicesIpv4Cidr(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(String status)
[Output only] The current status of this cluster.
|
Cluster |
setStatusMessage(String statusMessage)
[Output only] Additional information about the current status of this cluster, if available.
|
Cluster |
setSubnetwork(String subnetwork)
The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the
cluster is connected.
|
Cluster |
setZone(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic AddonsConfig getAddonsConfig()
null for nonepublic Cluster setAddonsConfig(AddonsConfig addonsConfig)
addonsConfig - addonsConfig or null for nonepublic String getClusterIpv4Cidr()
null for nonepublic Cluster setClusterIpv4Cidr(String clusterIpv4Cidr)
clusterIpv4Cidr - clusterIpv4Cidr or null for nonepublic String getCreateTime()
null for nonepublic Cluster setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getCurrentMasterVersion()
null for nonepublic Cluster setCurrentMasterVersion(String currentMasterVersion)
currentMasterVersion - currentMasterVersion or null for nonepublic Integer getCurrentNodeCount()
null for nonepublic Cluster setCurrentNodeCount(Integer currentNodeCount)
currentNodeCount - currentNodeCount or null for nonepublic String getCurrentNodeVersion()
null for nonepublic Cluster setCurrentNodeVersion(String currentNodeVersion)
currentNodeVersion - currentNodeVersion or null for nonepublic String getDescription()
null for nonepublic Cluster setDescription(String description)
description - description or null for nonepublic Boolean getEnableKubernetesAlpha()
null for nonepublic Cluster setEnableKubernetesAlpha(Boolean enableKubernetesAlpha)
enableKubernetesAlpha - enableKubernetesAlpha or null for nonepublic String getEndpoint()
null for nonepublic Cluster setEndpoint(String endpoint)
endpoint - endpoint or null for nonepublic String getExpireTime()
null for nonepublic Cluster setExpireTime(String expireTime)
expireTime - expireTime or null for nonepublic String getInitialClusterVersion()
null for nonepublic Cluster setInitialClusterVersion(String initialClusterVersion)
initialClusterVersion - initialClusterVersion or null for nonepublic Integer getInitialNodeCount()
null for nonepublic Cluster setInitialNodeCount(Integer initialNodeCount)
initialNodeCount - initialNodeCount or null for nonepublic List<String> getInstanceGroupUrls()
null for nonepublic Cluster setInstanceGroupUrls(List<String> instanceGroupUrls)
instanceGroupUrls - instanceGroupUrls or null for nonepublic String getLabelFingerprint()
null for nonepublic Cluster setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for nonepublic LegacyAbac getLegacyAbac()
null for nonepublic Cluster setLegacyAbac(LegacyAbac legacyAbac)
legacyAbac - legacyAbac or null for nonepublic List<String> getLocations()
null for nonepublic Cluster setLocations(List<String> locations)
locations - locations or null for nonepublic String getLoggingService()
null for nonepublic Cluster setLoggingService(String loggingService)
loggingService - loggingService or null for nonepublic MasterAuth getMasterAuth()
null for nonepublic Cluster setMasterAuth(MasterAuth masterAuth)
masterAuth - masterAuth or null for nonepublic String getMonitoringService()
null for nonepublic Cluster setMonitoringService(String monitoringService)
monitoringService - monitoringService or null for nonepublic String getName()
null for nonepublic Cluster setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic Cluster setNetwork(String network)
network - network or null for nonepublic NodeConfig getNodeConfig()
null for nonepublic Cluster setNodeConfig(NodeConfig nodeConfig)
nodeConfig - nodeConfig or null for nonepublic Integer getNodeIpv4CidrSize()
null for nonepublic Cluster setNodeIpv4CidrSize(Integer nodeIpv4CidrSize)
nodeIpv4CidrSize - nodeIpv4CidrSize or null for nonepublic List<NodePool> getNodePools()
null for nonepublic Cluster setNodePools(List<NodePool> nodePools)
nodePools - nodePools or null for nonepublic Map<String,String> getResourceLabels()
null for nonepublic Cluster setResourceLabels(Map<String,String> resourceLabels)
resourceLabels - resourceLabels or null for nonepublic String getSelfLink()
null for nonepublic Cluster setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getServicesIpv4Cidr()
null for nonepublic Cluster setServicesIpv4Cidr(String servicesIpv4Cidr)
servicesIpv4Cidr - servicesIpv4Cidr or null for nonepublic String getStatus()
null for nonepublic Cluster setStatus(String status)
status - status or null for nonepublic String getStatusMessage()
null for nonepublic Cluster setStatusMessage(String statusMessage)
statusMessage - statusMessage or null for nonepublic String getSubnetwork()
null for nonepublic Cluster setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic String getZone()
null for nonepublic Cluster setZone(String zone)
zone - zone or null for nonepublic Cluster set(String fieldName, Object value)
set in class GenericJsonpublic Cluster clone()
clone in class GenericJson