Class GCSBucket.GCSBucketBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>

Enclosing class:
GCSBucket

public abstract static class GCSBucket.GCSBucketBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • GCSBucketBuilder

      public GCSBucketBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for GCSBuckets.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>
      Returns:
      this.
    • applicationContainer

      public B applicationContainer(IApplicationContainer applicationContainer)
      ApplicationContainer asset containing this Catalog asset.
      Returns:
      this.
    • assetApplicationQualifiedName

      public B assetApplicationQualifiedName(String assetApplicationQualifiedName)
      Qualified name of the Application Container that contains this asset.
      Returns:
      this.
    • gcsAccessControl

      public B gcsAccessControl(String gcsAccessControl)
      Access control list for this asset.
      Returns:
      this.
    • gcsBucketLifecycleRules

      public B gcsBucketLifecycleRules(String gcsBucketLifecycleRules)
      Lifecycle rules for this bucket.
      Returns:
      this.
    • gcsBucketRetentionEffectiveTime

      public B gcsBucketRetentionEffectiveTime(Long gcsBucketRetentionEffectiveTime)
      Effective time for retention of objects in this bucket.
      Returns:
      this.
    • gcsBucketRetentionLocked

      public B gcsBucketRetentionLocked(Boolean gcsBucketRetentionLocked)
      Whether retention is locked for this bucket (true) or not (false).
      Returns:
      this.
    • gcsBucketRetentionPeriod

      public B gcsBucketRetentionPeriod(Long gcsBucketRetentionPeriod)
      Retention period for objects in this bucket.
      Returns:
      this.
    • gcsBucketRetentionPolicy

      public B gcsBucketRetentionPolicy(String gcsBucketRetentionPolicy)
      Retention policy for this bucket.
      Returns:
      this.
    • gcsBucketVersioningEnabled

      public B gcsBucketVersioningEnabled(Boolean gcsBucketVersioningEnabled)
      Whether versioning is enabled on the bucket (true) or not (false).
      Returns:
      this.
    • gcsETag

      public B gcsETag(String gcsETag)
      Entity tag for the asset. An entity tag is a hash of the object and represents changes to the contents of an object only, not its metadata.
      Returns:
      this.
    • gcsEncryptionType

      public B gcsEncryptionType(String gcsEncryptionType)
      Encryption algorithm used to encrypt this asset.
      Returns:
      this.
    • gcsMetaGenerationId

      public B gcsMetaGenerationId(Long gcsMetaGenerationId)
      Version of metadata for this asset at this generation. Used for preconditions and detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular asset.
      Returns:
      this.
    • gcsObjectCount

      public B gcsObjectCount(Long gcsObjectCount)
      Number of objects within the bucket.
      Returns:
      this.
    • gcsObject

      public B gcsObject(IGCSObject gcsObject)
    • gcsObjects

      public B gcsObjects(Collection<? extends IGCSObject> gcsObjects)
    • clearGcsObjects

      public B clearGcsObjects()
    • gcsRequesterPays

      public B gcsRequesterPays(Boolean gcsRequesterPays)
      Whether the requester pays header was sent when this asset was created (true) or not (false).
      Returns:
      this.
    • gcsStorageClass

      public B gcsStorageClass(String gcsStorageClass)
      Storage class of this asset.
      Returns:
      this.
    • googleLabel

      public B googleLabel(GoogleLabel googleLabel)
    • googleLabels

      public B googleLabels(Collection<? extends GoogleLabel> googleLabels)
    • clearGoogleLabels

      public B clearGoogleLabels()
    • googleLocation

      public B googleLocation(String googleLocation)
      Location of this asset in Google.
      Returns:
      this.
    • googleLocationType

      public B googleLocationType(String googleLocationType)
      Type of location of this asset in Google.
      Returns:
      this.
    • googleProjectId

      public B googleProjectId(String googleProjectId)
      ID of the project in which the asset exists.
      Returns:
      this.
    • googleProjectName

      public B googleProjectName(String googleProjectName)
      Name of the project in which the asset exists.
      Returns:
      this.
    • googleProjectNumber

      public B googleProjectNumber(Long googleProjectNumber)
      Number of the project in which the asset exists.
      Returns:
      this.
    • googleService

      public B googleService(String googleService)
      Service in Google in which the asset exists.
      Returns:
      this.
    • googleTag

      public B googleTag(GoogleTag googleTag)
    • googleTags

      public B googleTags(Collection<? extends GoogleTag> googleTags)
    • clearGoogleTags

      public B clearGoogleTags()
    • inputToAirflowTask

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks

      public B clearInputToAirflowTasks()
    • inputToProcess

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses

      public B clearInputToProcesses()
    • inputToSparkJob

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs

      public B clearInputToSparkJobs()
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • outputFromAirflowTask

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks

      public B clearOutputFromAirflowTasks()
    • outputFromProcess

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses

      public B clearOutputFromProcesses()
    • outputFromSparkJob

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs

      public B clearOutputFromSparkJobs()
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends GCSBucket,B extends GCSBucket.GCSBucketBuilder<C,B>>