Class AssetBatch.AssetBatchBuilder

java.lang.Object
com.atlan.util.AssetBatch.AssetBatchBuilder
Enclosing class:
AssetBatch

public static class AssetBatch.AssetBatchBuilder extends Object
  • Method Details

    • client

      public AssetBatch.AssetBatchBuilder client(AtlanClient client)
      Connectivity to an Atlan tenant.
      Returns:
      this.
    • maxSize

      public AssetBatch.AssetBatchBuilder maxSize(int maxSize)
      Maximum number of assets to submit in each batch.
      Returns:
      this.
    • replaceAtlanTags

      public AssetBatch.AssetBatchBuilder replaceAtlanTags(boolean replaceAtlanTags)
      Whether to replace Atlan tags (true), or ignore them (false).
      Returns:
      this.
    • customMetadataHandling

      public AssetBatch.AssetBatchBuilder customMetadataHandling(AssetBatch.CustomMetadataHandling customMetadataHandling)
      How to handle any custom metadata on assets (ignore, replace, or merge).
      Returns:
      this.
    • captureFailures

      public AssetBatch.AssetBatchBuilder captureFailures(boolean captureFailures)
      Whether to capture details about any failures (true) or throw exceptions for any failures (false).
      Returns:
      this.
    • updateOnly

      public AssetBatch.AssetBatchBuilder updateOnly(boolean updateOnly)
      Whether to allow assets to be created (false) or only allow existing assets to be updated (true).
      Returns:
      this.
    • track

      public AssetBatch.AssetBatchBuilder track(boolean track)
      Whether to track the basic information about every asset that is created or updated (true) or only track counts (false).
      Returns:
      this.
    • caseInsensitive

      public AssetBatch.AssetBatchBuilder caseInsensitive(boolean caseInsensitive)
      When running with updateOnly(boolean) as true, whether to consider only exact matches (false) or ignore case (true).
      Returns:
      this.
    • creationHandling

      public AssetBatch.AssetBatchBuilder creationHandling(AssetCreationHandling creationHandling)
      When allowing assets to be created, how to handle those creations (full assets or partial assets).
      Returns:
      this.
    • tableViewAgnostic

      public AssetBatch.AssetBatchBuilder tableViewAgnostic(boolean tableViewAgnostic)
      Whether tables and views should be treated interchangeably (an asset in the batch marked as a table will attempt to match a view if not found as a table, and vice versa).
      Returns:
      this.
    • build

      public AssetBatch build()
    • toString

      public String toString()
      Overrides:
      toString in class Object