com.baidubce.services.cnap.model.deploygroup
Class ContainerModel

java.lang.Object
  extended by com.baidubce.services.cnap.model.deploygroup.ContainerModel

public class ContainerModel
extends Object

The model for container.


Constructor Summary
ContainerModel()
           
 
Method Summary
 ContainerModel addArgu(String argu)
           
 ContainerModel addCommand(String command)
           
 ContainerModel addEnv(EnvVarModel envVarModel)
           
 List<String> getArgus()
           
 String getBapRepositoryID()
           
 List<String> getCommand()
           
 List<EnvVarModel> getEnv()
           
 String getImage()
           
 LifecycleModel getLifecycle()
           
 ProbeModel getLivenessProbe()
           
 String getName()
           
 ProbeModel getReadinessProbe()
           
 ResourceRequirementsModel getResources()
           
 void setArgus(List<String> argus)
           
 void setBapRepositoryID(String bapRepositoryID)
           
 void setCommand(List<String> command)
           
 void setEnv(List<EnvVarModel> env)
           
 void setImage(String image)
           
 void setLifecycle(LifecycleModel lifecycle)
           
 void setLivenessProbe(ProbeModel livenessProbe)
           
 void setName(String name)
           
 void setReadinessProbe(ProbeModel readinessProbe)
           
 void setResources(ResourceRequirementsModel resources)
           
 ContainerModel withBapRepositoryID(String bapRepositoryID)
           
 ContainerModel withImage(String image)
           
 ContainerModel withLifecycle(LifecycleModel lifecycle)
           
 ContainerModel withLivenessProbe(ProbeModel livenessProbe)
           
 ContainerModel withName(String name)
           
 ContainerModel withReadinessProbe(ProbeModel readinessProbe)
           
 ContainerModel withResources(ResourceRequirementsModel resources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerModel

public ContainerModel()
Method Detail

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.