Class APISpec.APISpecBuilder<C extends APISpec,B extends APISpec.APISpecBuilder<C,B>>

Enclosing class:
APISpec

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

    • APISpecBuilder

      public APISpecBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for APISpecs.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends APISpec,B extends APISpec.APISpecBuilder<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()
    • 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.
    • apiPath

      public B apiPath(IAPIPath apiPath)
    • apiPaths

      public B apiPaths(Collection<? extends IAPIPath> apiPaths)
    • clearApiPaths

      public B clearApiPaths()
    • apiSpecContactEmail

      public B apiSpecContactEmail(String apiSpecContactEmail)
      Email address for a contact responsible for the API specification.
      Returns:
      this.
    • apiSpecContactName

      public B apiSpecContactName(String apiSpecContactName)
      Name of the contact responsible for the API specification.
      Returns:
      this.
    • apiSpecContactURL

      public B apiSpecContactURL(String apiSpecContactURL)
      URL pointing to the contact information.
      Returns:
      this.
    • apiSpecContractVersion

      public B apiSpecContractVersion(String apiSpecContractVersion)
      Version of the contract for the API specification.
      Returns:
      this.
    • apiSpecLicenseName

      public B apiSpecLicenseName(String apiSpecLicenseName)
      Name of the license under which the API specification is available.
      Returns:
      this.
    • apiSpecLicenseURL

      public B apiSpecLicenseURL(String apiSpecLicenseURL)
      URL to the license under which the API specification is available.
      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.
    • apiSpecServiceAlias

      public B apiSpecServiceAlias(String apiSpecServiceAlias)
      Service alias for the API specification.
      Returns:
      this.
    • apiSpecTermsOfServiceURL

      public B apiSpecTermsOfServiceURL(String apiSpecTermsOfServiceURL)
      URL to the terms of service for the API specification.
      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 APISpec,B extends APISpec.APISpecBuilder<C,B>>
    • build

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

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