public final class PrivateClusterConfig
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 |
|---|
PrivateClusterConfig() |
| Modifier and Type | Method and Description |
|---|---|
PrivateClusterConfig |
clone() |
java.lang.Boolean |
getEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.
|
java.lang.Boolean |
getEnablePrivateNodes()
Whether nodes have internal IP addresses only.
|
java.lang.String |
getMasterIpv4CidrBlock()
The IP range in CIDR notation to use for the hosted master network.
|
java.lang.String |
getPrivateEndpoint()
Output only.
|
java.lang.String |
getPublicEndpoint()
Output only.
|
PrivateClusterConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
PrivateClusterConfig |
setEnablePrivateEndpoint(java.lang.Boolean enablePrivateEndpoint)
Whether the master's internal IP address is used as the cluster endpoint.
|
PrivateClusterConfig |
setEnablePrivateNodes(java.lang.Boolean enablePrivateNodes)
Whether nodes have internal IP addresses only.
|
PrivateClusterConfig |
setMasterIpv4CidrBlock(java.lang.String masterIpv4CidrBlock)
The IP range in CIDR notation to use for the hosted master network.
|
PrivateClusterConfig |
setPrivateEndpoint(java.lang.String privateEndpoint)
Output only.
|
PrivateClusterConfig |
setPublicEndpoint(java.lang.String publicEndpoint)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getEnablePrivateEndpoint()
null for nonepublic PrivateClusterConfig setEnablePrivateEndpoint(java.lang.Boolean enablePrivateEndpoint)
enablePrivateEndpoint - enablePrivateEndpoint or null for nonepublic java.lang.Boolean getEnablePrivateNodes()
null for nonepublic PrivateClusterConfig setEnablePrivateNodes(java.lang.Boolean enablePrivateNodes)
enablePrivateNodes - enablePrivateNodes or null for nonepublic java.lang.String getMasterIpv4CidrBlock()
null for nonepublic PrivateClusterConfig setMasterIpv4CidrBlock(java.lang.String masterIpv4CidrBlock)
masterIpv4CidrBlock - masterIpv4CidrBlock or null for nonepublic java.lang.String getPrivateEndpoint()
null for nonepublic PrivateClusterConfig setPrivateEndpoint(java.lang.String privateEndpoint)
privateEndpoint - privateEndpoint or null for nonepublic java.lang.String getPublicEndpoint()
null for nonepublic PrivateClusterConfig setPublicEndpoint(java.lang.String publicEndpoint)
publicEndpoint - publicEndpoint or null for nonepublic PrivateClusterConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PrivateClusterConfig clone()
clone in class com.google.api.client.json.GenericJson