@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1NodeSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CONFIG_SOURCE |
static String |
SERIALIZED_NAME_EXTERNAL_I_D |
static String |
SERIALIZED_NAME_POD_C_I_D_R |
static String |
SERIALIZED_NAME_POD_C_I_D_RS |
static String |
SERIALIZED_NAME_PROVIDER_I_D |
static String |
SERIALIZED_NAME_TAINTS |
static String |
SERIALIZED_NAME_UNSCHEDULABLE |
Constructor and Description |
---|
V1NodeSpec() |
Modifier and Type | Method and Description |
---|---|
V1NodeSpec |
addPodCIDRsItem(String podCIDRsItem) |
V1NodeSpec |
addTaintsItem(V1Taint taintsItem) |
V1NodeSpec |
configSource(V1NodeConfigSource configSource) |
boolean |
equals(Object o) |
V1NodeSpec |
externalID(String externalID) |
V1NodeConfigSource |
getConfigSource()
Get configSource
|
String |
getExternalID()
Deprecated.
|
String |
getPodCIDR()
PodCIDR represents the pod IP range assigned to the node.
|
List<String> |
getPodCIDRs()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.
|
String |
getProviderID()
ID of the node assigned by the cloud provider in the format:
<ProviderName>://<ProviderSpecificNodeID>
|
List<V1Taint> |
getTaints()
If specified, the node's taints.
|
Boolean |
getUnschedulable()
Unschedulable controls node schedulability of new pods.
|
int |
hashCode() |
V1NodeSpec |
podCIDR(String podCIDR) |
V1NodeSpec |
podCIDRs(List<String> podCIDRs) |
V1NodeSpec |
providerID(String providerID) |
void |
setConfigSource(V1NodeConfigSource configSource) |
void |
setExternalID(String externalID) |
void |
setPodCIDR(String podCIDR) |
void |
setPodCIDRs(List<String> podCIDRs) |
void |
setProviderID(String providerID) |
void |
setTaints(List<V1Taint> taints) |
void |
setUnschedulable(Boolean unschedulable) |
V1NodeSpec |
taints(List<V1Taint> taints) |
String |
toString() |
V1NodeSpec |
unschedulable(Boolean unschedulable) |
public static final String SERIALIZED_NAME_CONFIG_SOURCE
public static final String SERIALIZED_NAME_EXTERNAL_I_D
public static final String SERIALIZED_NAME_POD_C_I_D_R
public static final String SERIALIZED_NAME_POD_C_I_D_RS
public static final String SERIALIZED_NAME_PROVIDER_I_D
public static final String SERIALIZED_NAME_TAINTS
public static final String SERIALIZED_NAME_UNSCHEDULABLE
public V1NodeSpec configSource(V1NodeConfigSource configSource)
@Nullable public V1NodeConfigSource getConfigSource()
public void setConfigSource(V1NodeConfigSource configSource)
public V1NodeSpec externalID(String externalID)
@Nullable public String getExternalID()
public void setExternalID(String externalID)
public V1NodeSpec podCIDR(String podCIDR)
@Nullable public String getPodCIDR()
public void setPodCIDR(String podCIDR)
public V1NodeSpec podCIDRs(List<String> podCIDRs)
public V1NodeSpec addPodCIDRsItem(String podCIDRsItem)
@Nullable public List<String> getPodCIDRs()
public V1NodeSpec providerID(String providerID)
@Nullable public String getProviderID()
public void setProviderID(String providerID)
public V1NodeSpec taints(List<V1Taint> taints)
public V1NodeSpec addTaintsItem(V1Taint taintsItem)
@Nullable public List<V1Taint> getTaints()
public V1NodeSpec unschedulable(Boolean unschedulable)
@Nullable public Boolean getUnschedulable()
public void setUnschedulable(Boolean unschedulable)
Copyright © 2020. All rights reserved.