@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-05-14T16:48:53.494+08:00") public class AlluxioCompTemplateSpec extends Object
| 构造器和说明 |
|---|
AlluxioCompTemplateSpec() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlluxioCompTemplateSpec |
addJvmOptionsItem(String jvmOptionsItem) |
AlluxioCompTemplateSpec |
enabled(Boolean enabled) |
AlluxioCompTemplateSpec |
env(Map<String,String> env) |
boolean |
equals(Object o) |
Map<String,String> |
getEnv()
Environment variables that will be used by Alluxio component.
|
List<String> |
getJvmOptions()
Options for JVM
|
Map<String,String> |
getNodeSelector()
NodeSelector is a selector which must be true for the master to fit on a node
|
Map<String,Integer> |
getPorts()
Ports used by Alluxio(e.g. rpc: 19998 for master)
|
Map<String,String> |
getProperties()
Configurable properties for the Alluxio component.
|
Integer |
getReplicas()
Replicas is the desired number of replicas of the given template.
|
io.kubernetes.client.openapi.models.V1ResourceRequirements |
getResources()
Resources that will be requested by the Alluxio component.
|
int |
hashCode() |
Boolean |
isEnabled()
Enabled or Disabled for the components.
|
AlluxioCompTemplateSpec |
jvmOptions(List<String> jvmOptions) |
AlluxioCompTemplateSpec |
nodeSelector(Map<String,String> nodeSelector) |
AlluxioCompTemplateSpec |
ports(Map<String,Integer> ports) |
AlluxioCompTemplateSpec |
properties(Map<String,String> properties) |
AlluxioCompTemplateSpec |
putEnvItem(String key,
String envItem) |
AlluxioCompTemplateSpec |
putNodeSelectorItem(String key,
String nodeSelectorItem) |
AlluxioCompTemplateSpec |
putPortsItem(String key,
Integer portsItem) |
AlluxioCompTemplateSpec |
putPropertiesItem(String key,
String propertiesItem) |
AlluxioCompTemplateSpec |
replicas(Integer replicas) |
AlluxioCompTemplateSpec |
resources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) |
void |
setEnabled(Boolean enabled) |
void |
setEnv(Map<String,String> env) |
void |
setJvmOptions(List<String> jvmOptions) |
void |
setNodeSelector(Map<String,String> nodeSelector) |
void |
setPorts(Map<String,Integer> ports) |
void |
setProperties(Map<String,String> properties) |
void |
setReplicas(Integer replicas) |
void |
setResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) |
String |
toString() |
public AlluxioCompTemplateSpec enabled(Boolean enabled)
public Boolean isEnabled()
public void setEnabled(Boolean enabled)
public AlluxioCompTemplateSpec env(Map<String,String> env)
public AlluxioCompTemplateSpec putEnvItem(String key, String envItem)
public Map<String,String> getEnv()
public AlluxioCompTemplateSpec jvmOptions(List<String> jvmOptions)
public AlluxioCompTemplateSpec addJvmOptionsItem(String jvmOptionsItem)
public AlluxioCompTemplateSpec nodeSelector(Map<String,String> nodeSelector)
public AlluxioCompTemplateSpec putNodeSelectorItem(String key, String nodeSelectorItem)
public Map<String,String> getNodeSelector()
public AlluxioCompTemplateSpec ports(Map<String,Integer> ports)
public AlluxioCompTemplateSpec putPortsItem(String key, Integer portsItem)
public Map<String,Integer> getPorts()
public AlluxioCompTemplateSpec properties(Map<String,String> properties)
public AlluxioCompTemplateSpec putPropertiesItem(String key, String propertiesItem)
public Map<String,String> getProperties()
public AlluxioCompTemplateSpec replicas(Integer replicas)
public Integer getReplicas()
public void setReplicas(Integer replicas)
public AlluxioCompTemplateSpec resources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources)
public io.kubernetes.client.openapi.models.V1ResourceRequirements getResources()
public void setResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources)
Copyright © 2021. All rights reserved.