com.baidubce.services.cnap.model.deploygroup
Class ContainerModel
java.lang.Object
com.baidubce.services.cnap.model.deploygroup.ContainerModel
public class ContainerModel
- extends Object
The model for container.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerModel
public ContainerModel()
getBapRepositoryID
public String getBapRepositoryID()
setBapRepositoryID
public void setBapRepositoryID(String bapRepositoryID)
getName
public String getName()
setName
public void setName(String name)
getImage
public String getImage()
setImage
public void setImage(String image)
getCommand
public List<String> getCommand()
setCommand
public void setCommand(List<String> command)
getArgus
public List<String> getArgus()
setArgus
public void setArgus(List<String> argus)
getEnv
public List<EnvVarModel> getEnv()
setEnv
public void setEnv(List<EnvVarModel> env)
getLifecycle
public LifecycleModel getLifecycle()
setLifecycle
public void setLifecycle(LifecycleModel lifecycle)
getLivenessProbe
public ProbeModel getLivenessProbe()
setLivenessProbe
public void setLivenessProbe(ProbeModel livenessProbe)
getReadinessProbe
public ProbeModel getReadinessProbe()
setReadinessProbe
public void setReadinessProbe(ProbeModel readinessProbe)
getResources
public ResourceRequirementsModel getResources()
setResources
public void setResources(ResourceRequirementsModel resources)
withBapRepositoryID
public ContainerModel withBapRepositoryID(String bapRepositoryID)
withName
public ContainerModel withName(String name)
withImage
public ContainerModel withImage(String image)
addCommand
public ContainerModel addCommand(String command)
addArgu
public ContainerModel addArgu(String argu)
addEnv
public ContainerModel addEnv(EnvVarModel envVarModel)
withLifecycle
public ContainerModel withLifecycle(LifecycleModel lifecycle)
withLivenessProbe
public ContainerModel withLivenessProbe(ProbeModel livenessProbe)
withReadinessProbe
public ContainerModel withReadinessProbe(ProbeModel readinessProbe)
withResources
public ContainerModel withResources(ResourceRequirementsModel resources)
Copyright © 2020. All rights reserved.