Class ContainerConfigFile.Builder
- java.lang.Object
-
- com.oracle.bmc.containerinstances.model.ContainerConfigFile.Builder
-
- Enclosing class:
- ContainerConfigFile
public static class ContainerConfigFile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerConfigFilebuild()ContainerConfigFile.Buildercopy(ContainerConfigFile model)ContainerConfigFile.Builderdata(byte[] data)The base64 encoded contents of the file.ContainerConfigFile.BuilderfileName(String fileName)The name of the file.ContainerConfigFile.Builderpath(String path)(Optional) Relative path for this file inside the volume mount directory.
-
-
-
Method Detail
-
fileName
public ContainerConfigFile.Builder fileName(String fileName)
The name of the file.The fileName should be unique across the volume.
- Parameters:
fileName- the value to set- Returns:
- this builder
-
data
public 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.
- Parameters:
data- the value to set- Returns:
- this builder
-
path
public 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.
- Parameters:
path- the value to set- Returns:
- this builder
-
build
public ContainerConfigFile build()
-
copy
public ContainerConfigFile.Builder copy(ContainerConfigFile model)
-
-