Class ContainerConfigFile.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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