public class DockerContainerConfiguration extends AbstractModel
Constructor and Description |
---|
DockerContainerConfiguration() |
DockerContainerConfiguration(DockerContainerConfiguration source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Get The command to run
|
String |
getContainerImage()
Get Container image address
|
String |
getContainerName()
Get Container name
|
ContainerEnv[] |
getEnvs()
Get List of environment variables
|
DockerContainerPublishPort[] |
getPublishPorts()
Get List of mappings of container ports and host ports
|
DockerContainerVolume[] |
getVolumes()
Get List of container mount volumes
|
void |
setCommand(String Command)
Set The command to run
|
void |
setContainerImage(String ContainerImage)
Set Container image address
|
void |
setContainerName(String ContainerName)
Set Container name
|
void |
setEnvs(ContainerEnv[] Envs)
Set List of environment variables
|
void |
setPublishPorts(DockerContainerPublishPort[] PublishPorts)
Set List of mappings of container ports and host ports
|
void |
setVolumes(DockerContainerVolume[] Volumes)
Set List of container mount volumes
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DockerContainerConfiguration()
public DockerContainerConfiguration(DockerContainerConfiguration source)
public String getContainerImage()
public void setContainerImage(String ContainerImage)
ContainerImage
- Container image addresspublic String getContainerName()
public void setContainerName(String ContainerName)
ContainerName
- Container namepublic ContainerEnv[] getEnvs()
public void setEnvs(ContainerEnv[] Envs)
Envs
- List of environment variablespublic DockerContainerPublishPort[] getPublishPorts()
public void setPublishPorts(DockerContainerPublishPort[] PublishPorts)
PublishPorts
- List of mappings of container ports and host portspublic DockerContainerVolume[] getVolumes()
public void setVolumes(DockerContainerVolume[] Volumes)
Volumes
- List of container mount volumespublic String getCommand()
public void setCommand(String Command)
Command
- The command to runCopyright © 2023. All rights reserved.