Class SimpleVolumeMount.SimpleVolumeMountBuilder

java.lang.Object
org.ivoa.dm.executionbroker.SimpleVolumeMount.SimpleVolumeMountBuilder
Enclosing class:
SimpleVolumeMount

public static class SimpleVolumeMount.SimpleVolumeMountBuilder extends Object
A builder class for SimpleVolumeMount, mainly for use in the functional builder pattern.
  • Field Details

    • path

      public String path
      The filesystem mount point.
    • mode

      public String mode
      The read-write access mode.
    • cardinality

      public String cardinality
      If cardinality is set to INSTANCE, then this volume-mount will mount a single resource at the location set by path. If cardinality is set to CONTAINER, then this volume-mount will create a directory in the target file system, at the location set by path, and mount the resources within that directory.
    • resources

      public List<String> resources
      A list of the data resources in this volume mount. If cardinality is set to INSTANCE then this list should only contain one resource. If cardinality is set to INSTANCE and this list has more than one resource, it should fail validation. If cardinality is set to CONTAINER then this list may contain more than one resource.
    • kind

      public String kind
      The component type identifier.
    • meta

      public ComponentMetadata meta
      The component metadata.
  • Constructor Details

    • SimpleVolumeMountBuilder

      public SimpleVolumeMountBuilder()
  • Method Details

    • create

      public SimpleVolumeMount create()
      create a SimpleVolumeMount from this builder.
      Returns:
      an object initialized from the builder.