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() |
String |
getClusterApiVersion()
The API version of the Kubernetes master and kubelets running in this cluster.
|
String |
getContainerIpv4Cidr()
The IP address range of the container pods in this cluster, in CIDR notation (e.g.
|
String |
getCreationTimestamp()
[Output only] The time the cluster was created, in RFC3339 text format.
|
String |
getDescription()
An optional description of this cluster.
|
Boolean |
getEnableCloudLogging()
Whether logs from the cluster should be made available via the Google Cloud Logging service.
|
Boolean |
getEnableCloudMonitoring()
Whether metrics from the cluster should be made available via the Google Cloud Monitoring
service.
|
String |
getEndpoint()
[Output only] The IP address of this cluster's Kubernetes master.
|
List<String> |
getInstanceGroupUrls()
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
MasterAuth |
getMasterAuth()
The authentication information for accessing the master.
|
String |
getName()
The name of this cluster.
|
String |
getNetwork()
The name of the Google Compute Engine network to which the cluster is connected.
|
NodeConfig |
getNodeConfig()
The machine type and image to use for all nodes in this cluster.
|
Integer |
getNodeRoutingPrefixSize()
[Output only] The size of the address space on each node for hosting containers.
|
Integer |
getNumNodes()
The number of nodes to create in this cluster.
|
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
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 |
getZone()
[Output only] The name of the Google Compute Engine zone in which the cluster resides.
|
Cluster |
set(String fieldName,
Object value) |
Cluster |
setClusterApiVersion(String clusterApiVersion)
The API version of the Kubernetes master and kubelets running in this cluster.
|
Cluster |
setContainerIpv4Cidr(String containerIpv4Cidr)
The IP address range of the container pods in this cluster, in CIDR notation (e.g.
|
Cluster |
setCreationTimestamp(String creationTimestamp)
[Output only] The time the cluster was created, in RFC3339 text format.
|
Cluster |
setDescription(String description)
An optional description of this cluster.
|
Cluster |
setEnableCloudLogging(Boolean enableCloudLogging)
Whether logs from the cluster should be made available via the Google Cloud Logging service.
|
Cluster |
setEnableCloudMonitoring(Boolean enableCloudMonitoring)
Whether metrics from the cluster should be made available via the Google Cloud Monitoring
service.
|
Cluster |
setEndpoint(String endpoint)
[Output only] The IP address of this cluster's Kubernetes master.
|
Cluster |
setInstanceGroupUrls(List<String> instanceGroupUrls)
[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated
with this cluster.
|
Cluster |
setMasterAuth(MasterAuth masterAuth)
The authentication information for accessing the master.
|
Cluster |
setName(String name)
The name of this cluster.
|
Cluster |
setNetwork(String network)
The name of the Google Compute Engine network to which the cluster is connected.
|
Cluster |
setNodeConfig(NodeConfig nodeConfig)
The machine type and image to use for all nodes in this cluster.
|
Cluster |
setNodeRoutingPrefixSize(Integer nodeRoutingPrefixSize)
[Output only] The size of the address space on each node for hosting containers.
|
Cluster |
setNumNodes(Integer numNodes)
The number of nodes to create in this cluster.
|
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
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 |
setZone(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getClusterApiVersion()
null for nonepublic Cluster setClusterApiVersion(String clusterApiVersion)
clusterApiVersion - clusterApiVersion or null for nonepublic String getContainerIpv4Cidr()
null for nonepublic Cluster setContainerIpv4Cidr(String containerIpv4Cidr)
containerIpv4Cidr - containerIpv4Cidr or null for nonepublic String getCreationTimestamp()
null for nonepublic Cluster setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Cluster setDescription(String description)
description - description or null for nonepublic Boolean getEnableCloudLogging()
null for nonepublic Cluster setEnableCloudLogging(Boolean enableCloudLogging)
enableCloudLogging - enableCloudLogging or null for nonepublic Boolean getEnableCloudMonitoring()
null for nonepublic Cluster setEnableCloudMonitoring(Boolean enableCloudMonitoring)
enableCloudMonitoring - enableCloudMonitoring or null for nonepublic String getEndpoint()
null for nonepublic Cluster setEndpoint(String endpoint)
endpoint - endpoint or null for nonepublic List<String> getInstanceGroupUrls()
null for nonepublic Cluster setInstanceGroupUrls(List<String> instanceGroupUrls)
instanceGroupUrls - instanceGroupUrls or null for nonepublic MasterAuth getMasterAuth()
null for nonepublic Cluster setMasterAuth(MasterAuth masterAuth)
masterAuth - masterAuth 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 getNodeRoutingPrefixSize()
null for nonepublic Cluster setNodeRoutingPrefixSize(Integer nodeRoutingPrefixSize)
nodeRoutingPrefixSize - nodeRoutingPrefixSize or null for nonepublic Integer getNumNodes()
null for nonepublic Cluster setNumNodes(Integer numNodes)
numNodes - numNodes 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 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