Package io.fabric8.openshift.api.model
Class CustomDeploymentStrategyParams
- java.lang.Object
-
- io.fabric8.openshift.api.model.CustomDeploymentStrategyParams
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CustomDeploymentStrategyParamsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CustomDeploymentStrategyParams extends Object implements io.fabric8.kubernetes.api.builder.Editable<CustomDeploymentStrategyParamsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CustomDeploymentStrategyParams are the input to the Custom deployment strategy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomDeploymentStrategyParams()No args constructor for use in serializationCustomDeploymentStrategyParams(List<String> command, List<io.fabric8.kubernetes.api.model.EnvVar> environment, String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomDeploymentStrategyParamsBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getCommand()command is optional and overrides CMD in the container Image.List<io.fabric8.kubernetes.api.model.EnvVar>getEnvironment()environment holds the environment which will be given to the container for Image.StringgetImage()image specifies a container image which can carry out a deployment.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCommand(List<String> command)command is optional and overrides CMD in the container Image.voidsetEnvironment(List<io.fabric8.kubernetes.api.model.EnvVar> environment)environment holds the environment which will be given to the container for Image.voidsetImage(String image)image specifies a container image which can carry out a deployment.CustomDeploymentStrategyParamsBuildertoBuilder()
-
-
-
Method Detail
-
getCommand
public List<String> getCommand()
command is optional and overrides CMD in the container Image.
-
setCommand
public void setCommand(List<String> command)
command is optional and overrides CMD in the container Image.
-
getEnvironment
public List<io.fabric8.kubernetes.api.model.EnvVar> getEnvironment()
environment holds the environment which will be given to the container for Image.
-
setEnvironment
public void setEnvironment(List<io.fabric8.kubernetes.api.model.EnvVar> environment)
environment holds the environment which will be given to the container for Image.
-
getImage
public String getImage()
image specifies a container image which can carry out a deployment.
-
setImage
public void setImage(String image)
image specifies a container image which can carry out a deployment.
-
edit
public CustomDeploymentStrategyParamsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CustomDeploymentStrategyParamsBuilder>
-
toBuilder
public CustomDeploymentStrategyParamsBuilder toBuilder()
-
-