Package io.fabric8.openshift.api.model
Class ExecNewPodHook
java.lang.Object
io.fabric8.openshift.api.model.ExecNewPodHook
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class ExecNewPodHook extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExecNewPodHook()No args constructor for use in serializationExecNewPodHook(List<String> command, String containerName, List<io.fabric8.kubernetes.api.model.EnvVar> env, List<String> volumes) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()List<String>getCommand()StringgetContainerName()List<io.fabric8.kubernetes.api.model.EnvVar>getEnv()List<String>getVolumes()voidsetAdditionalProperty(String name, Object value)voidsetCommand(List<String> command)voidsetContainerName(String containerName)voidsetEnv(List<io.fabric8.kubernetes.api.model.EnvVar> env)voidsetVolumes(List<String> volumes)
-
Constructor Details
-
ExecNewPodHook
public ExecNewPodHook()No args constructor for use in serialization -
ExecNewPodHook
public ExecNewPodHook(List<String> command, String containerName, List<io.fabric8.kubernetes.api.model.EnvVar> env, List<String> volumes)- Parameters:
containerName-volumes-env-command-
-
-
Method Details
-
getCommand
- Returns:
- The command
-
setCommand
- Parameters:
command- The command
-
getContainerName
- Returns:
- The containerName
-
setContainerName
- Parameters:
containerName- The containerName
-
getEnv
- Returns:
- The env
-
setEnv
- Parameters:
env- The env
-
getVolumes
- Returns:
- The volumes
-
setVolumes
- Parameters:
volumes- The volumes
-
getAdditionalProperties
-
setAdditionalProperty
-