Class APIField.APIFieldBuilder<C extends APIField,B extends APIField.APIFieldBuilder<C,B>>

Enclosing class:
APIField

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

    • APIFieldBuilder

      public APIFieldBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for APIFields.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends APIField,B extends APIField.APIFieldBuilder<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()
    • apiFieldType

      public B apiFieldType(String apiFieldType)
      Type of APIField. E.g. STRING, NUMBER etc. It is free text.
      Returns:
      this.
    • apiFieldTypeSecondary

      public B apiFieldTypeSecondary(String apiFieldTypeSecondary)
      Secondary Type of APIField. E.g. LIST/STRING, then LIST would be the secondary type.
      Returns:
      this.
    • 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.
    • apiObject

      public B apiObject(IAPIObject apiObject)
      APIObject asset containing this APIField.
      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.
    • apiQuery

      public B apiQuery(IAPIQuery apiQuery)
      APIQuery asset containing this APIField.
      Returns:
      this.
    • apiQueryParamType

      public B apiQueryParamType(APIQueryParamTypeEnum apiQueryParamType)
      If parent relationship type is APIQuery, then this attribute denotes if this is input or output parameter.
      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 APIField,B extends APIField.APIFieldBuilder<C,B>>
    • build

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

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