Class APIObject.APIObjectBuilder<C extends APIObject,B extends APIObject.APIObjectBuilder<C,B>>

Enclosing class:
APIObject

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

    • APIObjectBuilder

      public APIObjectBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for APIObjects.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends APIObject,B extends APIObject.APIObjectBuilder<C,B>>
      Returns:
      this.
    • apiExternalDoc

      public B apiExternalDoc(String apiExternalDocKey, String apiExternalDocValue)
    • apiExternalDocs

      public B apiExternalDocs(Map<? extends String,? extends String> apiExternalDocs)
    • clearApiExternalDocs

      public B clearApiExternalDocs()
    • apiFieldCount

      public B apiFieldCount(Long apiFieldCount)
      Count of the APIField of this object.
      Returns:
      this.
    • apiField

      public B apiField(IAPIField apiField)
    • apiFields

      public B apiFields(Collection<? extends IAPIField> apiFields)
    • clearApiFields

      public B clearApiFields()
    • apiIsAuthOptional

      public B apiIsAuthOptional(Boolean apiIsAuthOptional)
      Whether authentication is optional (true) or required (false).
      Returns:
      this.
    • apiIsObjectReference

      public B apiIsObjectReference(Boolean apiIsObjectReference)
      If this asset refers to an APIObject
      Returns:
      this.
    • apiObjectQualifiedName

      public B apiObjectQualifiedName(String apiObjectQualifiedName)
      Qualified name of the APIObject that is referred to by this asset. When apiIsObjectReference is true.
      Returns:
      this.
    • apiSpecName

      public B apiSpecName(String apiSpecName)
      Simple name of the API spec, if this asset is contained in an API spec.
      Returns:
      this.
    • apiSpecQualifiedName

      public B apiSpecQualifiedName(String apiSpecQualifiedName)
      Unique name of the API spec, if this asset is contained in an API spec.
      Returns:
      this.
    • apiSpecType

      public B apiSpecType(String apiSpecType)
      Type of API, for example: OpenAPI, GraphQL, etc.
      Returns:
      this.
    • apiSpecVersion

      public B apiSpecVersion(String apiSpecVersion)
      Version of the API specification.
      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.
    • 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 APIObject,B extends APIObject.APIObjectBuilder<C,B>>
    • build

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

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