Class MCMonitor.MCMonitorBuilder<C extends MCMonitor,B extends MCMonitor.MCMonitorBuilder<C,B>>

Enclosing class:
MCMonitor

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

    • MCMonitorBuilder

      public MCMonitorBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for MCMonitors.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends MCMonitor,B extends MCMonitor.MCMonitorBuilder<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.
    • 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()
    • mcAssetQualifiedName

      public B mcAssetQualifiedName(String mcAssetQualifiedName)
    • mcAssetQualifiedNames

      public B mcAssetQualifiedNames(Collection<? extends String> mcAssetQualifiedNames)
    • clearMcAssetQualifiedNames

      public B clearMcAssetQualifiedNames()
    • mcLabel

      public B mcLabel(String mcLabel)
    • mcLabels

      public B mcLabels(Collection<? extends String> mcLabels)
    • clearMcLabels

      public B clearMcLabels()
    • mcMonitorAlertCondition

      public B mcMonitorAlertCondition(String mcMonitorAlertCondition)
      Condition on which the monitor produces an alert.
      Returns:
      this.
    • mcMonitorAlertCount

      public B mcMonitorAlertCount(Long mcMonitorAlertCount)
      Number of alerts associated with this monitor.
      Returns:
      this.
    • mcMonitorAsset

      public B mcMonitorAsset(IAsset mcMonitorAsset)
    • mcMonitorAssets

      public B mcMonitorAssets(Collection<? extends IAsset> mcMonitorAssets)
    • clearMcMonitorAssets

      public B clearMcMonitorAssets()
    • mcMonitorBreachRate

      public B mcMonitorBreachRate(Double mcMonitorBreachRate)
      Rate at which this monitor is breached.
      Returns:
      this.
    • mcMonitorId

      public B mcMonitorId(String mcMonitorId)
      Unique identifier for this monitor, from Monte Carlo.
      Returns:
      this.
    • mcMonitorIncidentCount

      public B mcMonitorIncidentCount(Long mcMonitorIncidentCount)
      Number of incidents associated with this monitor.
      Returns:
      this.
    • mcMonitorNamespace

      public B mcMonitorNamespace(String mcMonitorNamespace)
      Namespace of this monitor.
      Returns:
      this.
    • mcMonitorPriority

      public B mcMonitorPriority(String mcMonitorPriority)
      Priority of this monitor.
      Returns:
      this.
    • mcMonitorRuleComparison

      public B mcMonitorRuleComparison(MCRuleComparison mcMonitorRuleComparison)
    • mcMonitorRuleComparisons

      public B mcMonitorRuleComparisons(Collection<? extends MCRuleComparison> mcMonitorRuleComparisons)
    • clearMcMonitorRuleComparisons

      public B clearMcMonitorRuleComparisons()
    • mcMonitorRuleCustomSql

      public B mcMonitorRuleCustomSql(String mcMonitorRuleCustomSql)
      SQL code for custom SQL rules.
      Returns:
      this.
    • mcMonitorRuleIsSnoozed

      public B mcMonitorRuleIsSnoozed(Boolean mcMonitorRuleIsSnoozed)
      Whether the rule is currently snoozed (true) or not (false).
      Returns:
      this.
    • mcMonitorRuleNextExecutionTime

      public B mcMonitorRuleNextExecutionTime(Long mcMonitorRuleNextExecutionTime)
      Time at which the next execution of the rule should occur.
      Returns:
      this.
    • mcMonitorRulePreviousExecutionTime

      public B mcMonitorRulePreviousExecutionTime(Long mcMonitorRulePreviousExecutionTime)
      Time at which the previous execution of the rule occurred.
      Returns:
      this.
    • mcMonitorRuleScheduleConfig

      public B mcMonitorRuleScheduleConfig(MCRuleSchedule mcMonitorRuleScheduleConfig)
      Schedule details for the rule.
      Returns:
      this.
    • mcMonitorRuleScheduleConfigHumanized

      public B mcMonitorRuleScheduleConfigHumanized(String mcMonitorRuleScheduleConfigHumanized)
      Readable description of the schedule for the rule.
      Returns:
      this.
    • mcMonitorRuleType

      public B mcMonitorRuleType(String mcMonitorRuleType)
      Type of rule for this monitor.
      Returns:
      this.
    • mcMonitorScheduleType

      public B mcMonitorScheduleType(String mcMonitorScheduleType)
      Type of schedule for this monitor, for example: fixed or dynamic.
      Returns:
      this.
    • mcMonitorStatus

      public B mcMonitorStatus(String mcMonitorStatus)
      Status of this monitor.
      Returns:
      this.
    • mcMonitorType

      public B mcMonitorType(String mcMonitorType)
      Type of this monitor, for example: field health (stats) or dimension tracking (categories).
      Returns:
      this.
    • mcMonitorWarehouse

      public B mcMonitorWarehouse(String mcMonitorWarehouse)
      Name of the warehouse for this monitor.
      Returns:
      this.
    • 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 MCMonitor,B extends MCMonitor.MCMonitorBuilder<C,B>>
    • build

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

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