@Generated(value="org.jsonschema2pojo") public class ManifestContainer extends Object
| Constructor and Description |
|---|
ManifestContainer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
List<String> |
getCommand()
The command line to run.
|
List<Env> |
getEnv()
Environment variables to set before the container runs.
|
String |
getImage()
The container image to run.
|
PullPolicy |
getImagePullPolicy()
Policy for pulling images for this container.
|
String |
getName()
A symbolic name used to create and track the container.
|
List<Port> |
getPorts()
Ports to expose from the container.
|
List<VolumeMount> |
getVolumeMounts()
Data volumes to expose into the container.
|
String |
getWorkingDir()
The initial working directory for the command.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCommand(List<String> command)
The command line to run.
|
void |
setEnv(List<Env> env)
Environment variables to set before the container runs.
|
void |
setImage(String image)
The container image to run.
|
void |
setImagePullPolicy(PullPolicy imagePullPolicy)
Policy for pulling images for this container.
|
void |
setName(String name)
A symbolic name used to create and track the container.
|
void |
setPorts(List<Port> ports)
Ports to expose from the container.
|
void |
setVolumeMounts(List<VolumeMount> volumeMounts)
Data volumes to expose into the container.
|
void |
setWorkingDir(String workingDir)
The initial working directory for the command.
|
String |
toString() |
public String getName()
public void setName(String name)
name - The namepublic String getImage()
public void setImage(String image)
image - The imagepublic PullPolicy getImagePullPolicy()
public void setImagePullPolicy(PullPolicy imagePullPolicy)
imagePullPolicy - The imagePullPolicypublic List<String> getCommand()
public void setCommand(List<String> command)
command - The commandpublic String getWorkingDir()
public void setWorkingDir(String workingDir)
workingDir - The workingDirpublic List<VolumeMount> getVolumeMounts()
public void setVolumeMounts(List<VolumeMount> volumeMounts)
volumeMounts - The volumeMountspublic List<Port> getPorts()
public void setPorts(List<Port> ports)
ports - The portspublic List<Env> getEnv()
public void setEnv(List<Env> env)
env - The envCopyright © 2011–2014 Red Hat. All rights reserved.