Interface DaemonVolume.Builder

  • Method Details

    • name

      The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

      Parameters:
      name - The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • host

      The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.

      Parameters:
      host - The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • host

      The contents of the host parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.

      This is a convenience method that creates an instance of the HostVolumeProperties.Builder avoiding the need to create one manually via HostVolumeProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to host(HostVolumeProperties).

      Parameters:
      host - a consumer that will call methods on HostVolumeProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: