Class AbstractPackage.AbstractPackageBuilder<C extends AbstractPackage,B extends AbstractPackage.AbstractPackageBuilder<C,B>>

java.lang.Object
com.atlan.model.packages.AbstractPackage.AbstractPackageBuilder<C,B>
Direct Known Subclasses:
AbstractCrawler.AbstractCrawlerBuilder, AbstractMiner.AbstractMinerBuilder, ConnectionDelete.ConnectionDeleteBuilder
Enclosing class:
AbstractPackage

public abstract static class AbstractPackage.AbstractPackageBuilder<C extends AbstractPackage,B extends AbstractPackage.AbstractPackageBuilder<C,B>> extends Object
  • Field Details

    • epoch

      protected String epoch
      Unique timestamp for the crawler.
  • Constructor Details

    • AbstractPackageBuilder

      public AbstractPackageBuilder()
  • Method Details

    • metadata

      protected abstract B metadata()
      Set all the annotations, labels and common parameters specific to the crawler. (This will be called automatically by the 'setup' method.)
      Returns:
      the builder, with all the common metadata configured
    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
    • _prefix

      public B _prefix(String _prefix)
      Uniquely identifies the type of package.
      Returns:
      this.
    • _name

      public B _name(String _name)
      Unique name of the package, usually @atlan/something.
      Returns:
      this.
    • _runName

      public B _runName(String _runName)
      Unique name for the run of a package.
      Returns:
      this.
    • _label

      public B _label(String _labelKey, String _labelValue)
    • _labels

      public B _labels(Map<? extends String,? extends String> _labels)
    • clear_labels

      public B clear_labels()
    • _annotation

      public B _annotation(String _annotationKey, String _annotationValue)
    • _annotations

      public B _annotations(Map<? extends String,? extends String> _annotations)
    • clear_annotations

      public B clear_annotations()
    • _parameter

      public B _parameter(String _parameterKey, String _parameterValue)
    • _parameters

      public B _parameters(Map<? extends String,? extends String> _parameters)
    • clear_parameters

      public B clear_parameters()
    • _credential

      public B _credential(Credential.CredentialBuilder<?,?> _credential)
      Credentials for the package to access its source.
      Returns:
      this.
    • self

      protected abstract B self()
    • build

      public abstract C build()
    • toString

      public String toString()
      Overrides:
      toString in class Object