Class S3DataResource.S3DataResourceBuilder

java.lang.Object
org.ivoa.dm.executionbroker.S3DataResource.S3DataResourceBuilder
Enclosing class:
S3DataResource

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

    • endpoint

      public String endpoint
      The endpoint address of the S3 service.
    • template

      public String template
      The URL template for the S3 service.
    • bucket

      public String bucket
      The target bucket name.
    • object

      public String object
      The target object name. Leaving this blank will mount the whole bucket as a directory.
    • phase

      public LifecyclePhase phase
      The lifecycle phase.
    • schedule

      public LifecycleSchedule schedule
      The lifecycle schedule.
    • kind

      public String kind
      The component type identifier.
    • meta

      public ComponentMetadata meta
      The component metadata.
  • Constructor Details

    • S3DataResourceBuilder

      public S3DataResourceBuilder()
  • Method Details

    • create

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