Interface Tmpfs.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Tmpfs.Builder,Tmpfs>, SdkBuilder<Tmpfs.Builder,Tmpfs>, SdkPojo
Enclosing class:
Tmpfs

public static interface Tmpfs.Builder extends SdkPojo, CopyableBuilder<Tmpfs.Builder,Tmpfs>
  • Method Details

    • containerPath

      Tmpfs.Builder containerPath(String containerPath)

      The absolute file path in the container where the tmpfs volume is mounted.

      Parameters:
      containerPath - The absolute file path in the container where the tmpfs volume is mounted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • size

      Tmpfs.Builder size(Integer size)

      The size (in MiB) of the tmpfs volume.

      Parameters:
      size - The size (in MiB) of the tmpfs volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mountOptions

      Tmpfs.Builder mountOptions(Collection<String> mountOptions)

      The list of tmpfs volume mount options.

      Valid values: "defaults" | "ro" | "rw" | "suid" | " nosuid" | "dev" | "nodev" | "exec" | "noexec " | "sync" | "async" | "dirsync" | "remount" | " mand" | "nomand" | "atime" | "noatime" | " diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

      Parameters:
      mountOptions - The list of tmpfs volume mount options.

      Valid values: "defaults" | "ro" | "rw" | "suid " | "nosuid" | "dev" | "nodev" | "exec" | " noexec" | "sync" | "async" | "dirsync" | " remount" | "mand" | "nomand" | "atime" | " noatime" | "diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mountOptions

      Tmpfs.Builder mountOptions(String... mountOptions)

      The list of tmpfs volume mount options.

      Valid values: "defaults" | "ro" | "rw" | "suid" | " nosuid" | "dev" | "nodev" | "exec" | "noexec " | "sync" | "async" | "dirsync" | "remount" | " mand" | "nomand" | "atime" | "noatime" | " diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

      Parameters:
      mountOptions - The list of tmpfs volume mount options.

      Valid values: "defaults" | "ro" | "rw" | "suid " | "nosuid" | "dev" | "nodev" | "exec" | " noexec" | "sync" | "async" | "dirsync" | " remount" | "mand" | "nomand" | "atime" | " noatime" | "diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

      Returns:
      Returns a reference to this object so that method calls can be chained together.