public static class ContainerConfigFile.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerConfigFile |
build() |
ContainerConfigFile.Builder |
copy(ContainerConfigFile model) |
ContainerConfigFile.Builder |
data(byte[] data)
The base64 encoded contents of the file.
|
ContainerConfigFile.Builder |
fileName(String fileName)
The name of the file.
|
ContainerConfigFile.Builder |
path(String path)
(Optional) Relative path for this file inside the volume mount directory.
|
public ContainerConfigFile.Builder fileName(String fileName)
The name of the file. The fileName should be unique across the volume.
fileName
- the value to setpublic ContainerConfigFile.Builder data(byte[] data)
The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
data
- the value to setpublic ContainerConfigFile.Builder path(String path)
(Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
path
- the value to setpublic ContainerConfigFile build()
public ContainerConfigFile.Builder copy(ContainerConfigFile model)
Copyright © 2016–2024. All rights reserved.