public class PrometheusClusterAgentPodConfig extends AbstractModel
Constructor and Description |
---|
PrometheusClusterAgentPodConfig() |
PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getHostNet()
Get Whether to use HostNetWork
|
Label[] |
getNodeSelector()
Get A parameter used to specify the running nodes for a pod
|
Toleration[] |
getTolerations()
Get Tolerable taints
|
void |
setHostNet(Boolean HostNet)
Set Whether to use HostNetWork
|
void |
setNodeSelector(Label[] NodeSelector)
Set A parameter used to specify the running nodes for a pod
|
void |
setTolerations(Toleration[] Tolerations)
Set Tolerable taints
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PrometheusClusterAgentPodConfig()
public PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig source)
public Boolean getHostNet()
public void setHostNet(Boolean HostNet)
HostNet
- Whether to use HostNetWorkpublic Label[] getNodeSelector()
public void setNodeSelector(Label[] NodeSelector)
NodeSelector
- A parameter used to specify the running nodes for a podpublic Toleration[] getTolerations()
public void setTolerations(Toleration[] Tolerations)
Tolerations
- Tolerable taintsCopyright © 2023. All rights reserved.