public final class IPAllocationPolicy
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 |
---|
IPAllocationPolicy() |
Modifier and Type | Method and Description |
---|---|
IPAllocationPolicy |
clone() |
java.lang.String |
getClusterIpv4Cidr()
This field is deprecated, use cluster_ipv4_cidr_block.
|
java.lang.String |
getClusterIpv4CidrBlock()
The IP address range for the cluster pod IPs.
|
java.lang.String |
getClusterSecondaryRangeName()
The name of the secondary range to be used for the cluster CIDR block.
|
java.lang.Boolean |
getCreateSubnetwork()
Whether a new subnetwork will be created automatically for the cluster.
|
java.lang.String |
getNodeIpv4Cidr()
This field is deprecated, use node_ipv4_cidr_block.
|
java.lang.String |
getNodeIpv4CidrBlock()
The IP address range of the instance IPs in this cluster.
|
java.lang.String |
getServicesIpv4Cidr()
This field is deprecated, use services_ipv4_cidr_block.
|
java.lang.String |
getServicesIpv4CidrBlock()
The IP address range of the services IPs in this cluster.
|
java.lang.String |
getServicesSecondaryRangeName()
The name of the secondary range to be used as for the services CIDR block.
|
java.lang.String |
getSubnetworkName()
A custom subnetwork name to be used if `create_subnetwork` is true.
|
java.lang.String |
getTpuIpv4CidrBlock()
The IP address range of the Cloud TPUs in this cluster.
|
java.lang.Boolean |
getUseIpAliases()
Whether alias IPs will be used for pod IPs in the cluster.
|
IPAllocationPolicy |
set(java.lang.String fieldName,
java.lang.Object value) |
IPAllocationPolicy |
setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr)
This field is deprecated, use cluster_ipv4_cidr_block.
|
IPAllocationPolicy |
setClusterIpv4CidrBlock(java.lang.String clusterIpv4CidrBlock)
The IP address range for the cluster pod IPs.
|
IPAllocationPolicy |
setClusterSecondaryRangeName(java.lang.String clusterSecondaryRangeName)
The name of the secondary range to be used for the cluster CIDR block.
|
IPAllocationPolicy |
setCreateSubnetwork(java.lang.Boolean createSubnetwork)
Whether a new subnetwork will be created automatically for the cluster.
|
IPAllocationPolicy |
setNodeIpv4Cidr(java.lang.String nodeIpv4Cidr)
This field is deprecated, use node_ipv4_cidr_block.
|
IPAllocationPolicy |
setNodeIpv4CidrBlock(java.lang.String nodeIpv4CidrBlock)
The IP address range of the instance IPs in this cluster.
|
IPAllocationPolicy |
setServicesIpv4Cidr(java.lang.String servicesIpv4Cidr)
This field is deprecated, use services_ipv4_cidr_block.
|
IPAllocationPolicy |
setServicesIpv4CidrBlock(java.lang.String servicesIpv4CidrBlock)
The IP address range of the services IPs in this cluster.
|
IPAllocationPolicy |
setServicesSecondaryRangeName(java.lang.String servicesSecondaryRangeName)
The name of the secondary range to be used as for the services CIDR block.
|
IPAllocationPolicy |
setSubnetworkName(java.lang.String subnetworkName)
A custom subnetwork name to be used if `create_subnetwork` is true.
|
IPAllocationPolicy |
setTpuIpv4CidrBlock(java.lang.String tpuIpv4CidrBlock)
The IP address range of the Cloud TPUs in this cluster.
|
IPAllocationPolicy |
setUseIpAliases(java.lang.Boolean useIpAliases)
Whether alias IPs will be used for pod IPs in the cluster.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getClusterIpv4Cidr()
null
for nonepublic IPAllocationPolicy setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr)
clusterIpv4Cidr
- clusterIpv4Cidr or null
for nonepublic java.lang.String getClusterIpv4CidrBlock()
null
for nonepublic IPAllocationPolicy setClusterIpv4CidrBlock(java.lang.String clusterIpv4CidrBlock)
clusterIpv4CidrBlock
- clusterIpv4CidrBlock or null
for nonepublic java.lang.String getClusterSecondaryRangeName()
null
for nonepublic IPAllocationPolicy setClusterSecondaryRangeName(java.lang.String clusterSecondaryRangeName)
clusterSecondaryRangeName
- clusterSecondaryRangeName or null
for nonepublic java.lang.Boolean getCreateSubnetwork()
null
for nonepublic IPAllocationPolicy setCreateSubnetwork(java.lang.Boolean createSubnetwork)
createSubnetwork
- createSubnetwork or null
for nonepublic java.lang.String getNodeIpv4Cidr()
null
for nonepublic IPAllocationPolicy setNodeIpv4Cidr(java.lang.String nodeIpv4Cidr)
nodeIpv4Cidr
- nodeIpv4Cidr or null
for nonepublic java.lang.String getNodeIpv4CidrBlock()
null
for nonepublic IPAllocationPolicy setNodeIpv4CidrBlock(java.lang.String nodeIpv4CidrBlock)
nodeIpv4CidrBlock
- nodeIpv4CidrBlock or null
for nonepublic java.lang.String getServicesIpv4Cidr()
null
for nonepublic IPAllocationPolicy setServicesIpv4Cidr(java.lang.String servicesIpv4Cidr)
servicesIpv4Cidr
- servicesIpv4Cidr or null
for nonepublic java.lang.String getServicesIpv4CidrBlock()
null
for nonepublic IPAllocationPolicy setServicesIpv4CidrBlock(java.lang.String servicesIpv4CidrBlock)
servicesIpv4CidrBlock
- servicesIpv4CidrBlock or null
for nonepublic java.lang.String getServicesSecondaryRangeName()
null
for nonepublic IPAllocationPolicy setServicesSecondaryRangeName(java.lang.String servicesSecondaryRangeName)
servicesSecondaryRangeName
- servicesSecondaryRangeName or null
for nonepublic java.lang.String getSubnetworkName()
null
for nonepublic IPAllocationPolicy setSubnetworkName(java.lang.String subnetworkName)
subnetworkName
- subnetworkName or null
for nonepublic java.lang.String getTpuIpv4CidrBlock()
null
for nonepublic IPAllocationPolicy setTpuIpv4CidrBlock(java.lang.String tpuIpv4CidrBlock)
tpuIpv4CidrBlock
- tpuIpv4CidrBlock or null
for nonepublic java.lang.Boolean getUseIpAliases()
null
for nonepublic IPAllocationPolicy setUseIpAliases(java.lang.Boolean useIpAliases)
useIpAliases
- useIpAliases or null
for nonepublic IPAllocationPolicy set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public IPAllocationPolicy clone()
clone
in class com.google.api.client.json.GenericJson