Class GCSObject.GCSObjectBuilder<C extends GCSObject,B extends GCSObject.GCSObjectBuilder<C,B>>

Enclosing class:
GCSObject

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

    • GCSObjectBuilder

      public GCSObjectBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for GCSObjects.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends GCSObject,B extends GCSObject.GCSObjectBuilder<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.
    • gcsBucket

      public B gcsBucket(IGCSBucket gcsBucket)
      GCS bucket in which the object exists.
      Returns:
      this.
    • gcsBucketName

      public B gcsBucketName(String gcsBucketName)
      Simple name of the bucket in which this object exists.
      Returns:
      this.
    • gcsBucketQualifiedName

      public B gcsBucketQualifiedName(String gcsBucketQualifiedName)
      Unique name of the bucket in which this object exists.
      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.
    • gcsObjectCRC32CHash

      public B gcsObjectCRC32CHash(String gcsObjectCRC32CHash)
      CRC32C hash of this object.
      Returns:
      this.
    • gcsObjectContentDisposition

      public B gcsObjectContentDisposition(String gcsObjectContentDisposition)
      Information about how this object's content should be presented.
      Returns:
      this.
    • gcsObjectContentEncoding

      public B gcsObjectContentEncoding(String gcsObjectContentEncoding)
      Content encoding of this object.
      Returns:
      this.
    • gcsObjectContentLanguage

      public B gcsObjectContentLanguage(String gcsObjectContentLanguage)
      Language of this object's contents.
      Returns:
      this.
    • gcsObjectContentType

      public B gcsObjectContentType(String gcsObjectContentType)
      Type of content in this object.
      Returns:
      this.
    • gcsObjectDataLastModifiedTime

      public B gcsObjectDataLastModifiedTime(Long gcsObjectDataLastModifiedTime)
      Time (epoch) at which this object's data was last modified, in milliseconds.
      Returns:
      this.
    • gcsObjectGenerationId

      public B gcsObjectGenerationId(Long gcsObjectGenerationId)
      Generation ID of this object.
      Returns:
      this.
    • gcsObjectHoldType

      public B gcsObjectHoldType(String gcsObjectHoldType)
      Type of hold on this object.
      Returns:
      this.
    • gcsObjectKey

      public B gcsObjectKey(String gcsObjectKey)
      Key of this object, in GCS.
      Returns:
      this.
    • gcsObjectMD5Hash

      public B gcsObjectMD5Hash(String gcsObjectMD5Hash)
      MD5 hash of this object.
      Returns:
      this.
    • gcsObjectMediaLink

      public B gcsObjectMediaLink(String gcsObjectMediaLink)
      Media link to this object.
      Returns:
      this.
    • gcsObjectRetentionExpirationDate

      public B gcsObjectRetentionExpirationDate(Long gcsObjectRetentionExpirationDate)
      Retention expiration date of this object.
      Returns:
      this.
    • gcsObjectSize

      public B gcsObjectSize(Long gcsObjectSize)
      Object size in bytes.
      Returns:
      this.
    • 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 GCSObject,B extends GCSObject.GCSObjectBuilder<C,B>>
    • build

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

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