Class CreateContainerConfig
java.lang.Object
io.github.alersrt.pod4j.openapi.model.CreateContainerConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class CreateContainerConfig
extends Object
CreateContainerConfig used when compatible endpoint creates a container
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCmdItem(String cmdItem) addEntrypointItem(String entrypointItem) addEnvItem(String envItem) addEnvMergeItem(String envMergeItem) addOnBuildItem(String onBuildItem) addShellItem(String shellItem) addUnsetEnvItem(String unsetEnvItem) argsEscaped(Boolean argsEscaped) attachStderr(Boolean attachStderr) attachStdin(Boolean attachStdin) attachStdout(Boolean attachStdout) domainname(String domainname) entrypoint(List<String> entrypoint) booleanexposedPorts(Map<String, Object> exposedPorts) static CreateContainerConfigCreate an instance of CreateContainerConfig given an JSON stringGet argsEscapedGet attachStderrGet attachStdinGet attachStdoutgetCmd()We need to override the json decoder to accept both options.Get domainnameWe need to override the json decoder to accept both options.getEnv()Get envGet envMergePortSet is a collection of structs indexed by Port@Valid HealthcheckConfigGet healthcheck@Valid HostConfigGet hostConfigGet hostnamegetImage()Get imageGet labelsMac Address of the container.getName()Get nameGet networkDisabled@Valid NetworkingConfigGet networkingConfigGet onBuildGet openStdingetShell()We need to override the json decoder to accept both options.Get stdinOnceGet stopSignalGet stopTimeoutgetTty()Get ttyGet unsetEnvGet unsetEnvAllgetUser()Get userGet volumesGet workingDirinthashCode()healthcheck(HealthcheckConfig healthcheck) hostConfig(HostConfig hostConfig) macAddress(String macAddress) networkDisabled(Boolean networkDisabled) networkingConfig(NetworkingConfig networkingConfig) putExposedPortsItem(String key, Object exposedPortsItem) putLabelsItem(String key, String labelsItem) putVolumesItem(String key, Object volumesItem) voidsetArgsEscaped(Boolean argsEscaped) voidsetAttachStderr(Boolean attachStderr) voidsetAttachStdin(Boolean attachStdin) voidsetAttachStdout(Boolean attachStdout) voidvoidsetDomainname(String domainname) voidsetEntrypoint(List<String> entrypoint) voidvoidsetEnvMerge(List<String> envMerge) voidsetExposedPorts(Map<String, Object> exposedPorts) voidsetHealthcheck(HealthcheckConfig healthcheck) voidsetHostConfig(HostConfig hostConfig) voidsetHostname(String hostname) voidvoidvoidsetMacAddress(String macAddress) voidvoidsetNetworkDisabled(Boolean networkDisabled) voidsetNetworkingConfig(NetworkingConfig networkingConfig) voidsetOnBuild(List<String> onBuild) voidsetOpenStdin(Boolean openStdin) voidvoidsetStdinOnce(Boolean stdinOnce) voidsetStopSignal(String stopSignal) voidsetStopTimeout(Long stopTimeout) voidvoidsetUnsetEnv(List<String> unsetEnv) voidsetUnsetEnvAll(Boolean unsetEnvAll) voidvoidsetVolumes(Map<String, Object> volumes) voidsetWorkingDir(String workingDir) stopSignal(String stopSignal) stopTimeout(Long stopTimeout) toJson()Convert an instance of CreateContainerConfig to an JSON stringtoString()unsetEnvAll(Boolean unsetEnvAll) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundworkingDir(String workingDir)
-
Field Details
-
SERIALIZED_NAME_ARGS_ESCAPED
- See Also:
-
SERIALIZED_NAME_ATTACH_STDERR
- See Also:
-
SERIALIZED_NAME_ATTACH_STDIN
- See Also:
-
SERIALIZED_NAME_ATTACH_STDOUT
- See Also:
-
SERIALIZED_NAME_CMD
- See Also:
-
SERIALIZED_NAME_DOMAINNAME
- See Also:
-
SERIALIZED_NAME_ENTRYPOINT
- See Also:
-
SERIALIZED_NAME_ENV
- See Also:
-
SERIALIZED_NAME_ENV_MERGE
- See Also:
-
SERIALIZED_NAME_EXPOSED_PORTS
- See Also:
-
SERIALIZED_NAME_HEALTHCHECK
- See Also:
-
SERIALIZED_NAME_HOST_CONFIG
- See Also:
-
SERIALIZED_NAME_HOSTNAME
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MAC_ADDRESS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NETWORK_DISABLED
- See Also:
-
SERIALIZED_NAME_NETWORKING_CONFIG
- See Also:
-
SERIALIZED_NAME_ON_BUILD
- See Also:
-
SERIALIZED_NAME_OPEN_STDIN
- See Also:
-
SERIALIZED_NAME_SHELL
- See Also:
-
SERIALIZED_NAME_STDIN_ONCE
- See Also:
-
SERIALIZED_NAME_STOP_SIGNAL
- See Also:
-
SERIALIZED_NAME_STOP_TIMEOUT
- See Also:
-
SERIALIZED_NAME_TTY
- See Also:
-
SERIALIZED_NAME_UNSET_ENV
- See Also:
-
SERIALIZED_NAME_UNSET_ENV_ALL
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
SERIALIZED_NAME_VOLUMES
- See Also:
-
SERIALIZED_NAME_WORKING_DIR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateContainerConfig
public CreateContainerConfig()
-
-
Method Details
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CreateContainerConfig
-
fromJson
Create an instance of CreateContainerConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateContainerConfig
- Throws:
IOException- if the JSON string is invalid with respect to CreateContainerConfig
-
argsEscaped
-
getArgsEscaped
Get argsEscaped- Returns:
- argsEscaped
-
setArgsEscaped
-
attachStderr
-
getAttachStderr
Get attachStderr- Returns:
- attachStderr
-
setAttachStderr
-
attachStdin
-
getAttachStdin
Get attachStdin- Returns:
- attachStdin
-
setAttachStdin
-
attachStdout
-
getAttachStdout
Get attachStdout- Returns:
- attachStdout
-
setAttachStdout
-
cmd
-
addCmdItem
-
getCmd
We need to override the json decoder to accept both options.- Returns:
- cmd
-
setCmd
-
domainname
-
getDomainname
Get domainname- Returns:
- domainname
-
setDomainname
-
entrypoint
-
addEntrypointItem
-
getEntrypoint
We need to override the json decoder to accept both options.- Returns:
- entrypoint
-
setEntrypoint
-
env
-
addEnvItem
-
getEnv
Get env- Returns:
- env
-
setEnv
-
envMerge
-
addEnvMergeItem
-
getEnvMerge
Get envMerge- Returns:
- envMerge
-
setEnvMerge
-
exposedPorts
-
putExposedPortsItem
-
getExposedPorts
PortSet is a collection of structs indexed by Port- Returns:
- exposedPorts
-
setExposedPorts
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
hostConfig
-
getHostConfig
Get hostConfig- Returns:
- hostConfig
-
setHostConfig
-
hostname
-
getHostname
Get hostname- Returns:
- hostname
-
setHostname
-
image
-
getImage
Get image- Returns:
- image
-
setImage
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
macAddress
-
getMacAddress
Mac Address of the container. Deprecated: this field is deprecated since API v1.44. Use EndpointSettings.MacAddress instead.- Returns:
- macAddress
-
setMacAddress
-
name
-
getName
Get name- Returns:
- name
-
setName
-
networkDisabled
-
getNetworkDisabled
Get networkDisabled- Returns:
- networkDisabled
-
setNetworkDisabled
-
networkingConfig
-
getNetworkingConfig
Get networkingConfig- Returns:
- networkingConfig
-
setNetworkingConfig
-
onBuild
-
addOnBuildItem
-
getOnBuild
Get onBuild- Returns:
- onBuild
-
setOnBuild
-
openStdin
-
getOpenStdin
Get openStdin- Returns:
- openStdin
-
setOpenStdin
-
shell
-
addShellItem
-
getShell
We need to override the json decoder to accept both options.- Returns:
- shell
-
setShell
-
stdinOnce
-
getStdinOnce
Get stdinOnce- Returns:
- stdinOnce
-
setStdinOnce
-
stopSignal
-
getStopSignal
Get stopSignal- Returns:
- stopSignal
-
setStopSignal
-
stopTimeout
-
getStopTimeout
Get stopTimeout- Returns:
- stopTimeout
-
setStopTimeout
-
tty
-
getTty
Get tty- Returns:
- tty
-
setTty
-
unsetEnv
-
addUnsetEnvItem
-
getUnsetEnv
Get unsetEnv- Returns:
- unsetEnv
-
setUnsetEnv
-
unsetEnvAll
-
getUnsetEnvAll
Get unsetEnvAll- Returns:
- unsetEnvAll
-
setUnsetEnvAll
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
volumes
-
putVolumesItem
-
getVolumes
Get volumes- Returns:
- volumes
-
setVolumes
-
workingDir
-
getWorkingDir
Get workingDir- Returns:
- workingDir
-
setWorkingDir
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of CreateContainerConfig to an JSON string- Returns:
- JSON string
-