Package com.atlan.model.assets
Class DbtTest.DbtTestBuilder<C extends DbtTest,B extends DbtTest.DbtTestBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.relations.Reference.ReferenceBuilder<C,B>
com.atlan.model.assets.Asset.AssetBuilder<C,B>
com.atlan.model.assets.DbtTest.DbtTestBuilder<C,B>
- Enclosing class:
DbtTest
public abstract static class DbtTest.DbtTestBuilder<C extends DbtTest,B extends DbtTest.DbtTestBuilder<C,B>>
extends Asset.AssetBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
dbtAccountName
(String dbtAccountName) Name of the account in which this asset exists in dbt.Alias of this asset in dbt.dbtConnectionContext
(String dbtConnectionContext) Connection context for this asset in dbt.dbtEnvironmentDbtVersion
(String dbtEnvironmentDbtVersion) Version of dbt used in the environment.dbtEnvironmentName
(String dbtEnvironmentName) Name of the environment in which this asset exists in dbt.dbtJobLastRun
(Long dbtJobLastRun) Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.dbtJobName
(String dbtJobName) Name of the job that materialized this asset in dbt.dbtJobNextRun
(Long dbtJobNextRun) Time (epoch) at which the job that materialized this asset in dbt will next run, in milliseconds.dbtJobNextRunHumanized
(String dbtJobNextRunHumanized) Human-readable time at which the job that materialized this asset in dbt will next run.dbtJobRuns
(Collection<? extends DbtJobRun> dbtJobRuns) dbtJobSchedule
(String dbtJobSchedule) Schedule of the job that materialized this asset in dbt.dbtJobScheduleCronHumanized
(String dbtJobScheduleCronHumanized) Human-readable cron schedule of the job that materialized this asset in dbt.dbtJobStatus
(String dbtJobStatus) Status of the job that materialized this asset in dbt.Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.dbtModelColumn
(IDbtModelColumn dbtModelColumn) dbtModelColumns
(Collection<? extends IDbtModelColumn> dbtModelColumns) dbtModels
(Collection<? extends IDbtModel> dbtModels) dbtPackageName
(String dbtPackageName) Name of the package in which this asset exists in dbt.dbtProjectName
(String dbtProjectName) Name of the project in which this asset exists in dbt.dbtSemanticLayerProxyUrl
(String dbtSemanticLayerProxyUrl) URL of the semantic layer proxy for this asset in dbt.dbtSource
(IDbtSource dbtSource) dbtSources
(Collection<? extends IDbtSource> dbtSources) dbtTags
(Collection<? extends String> dbtTags) dbtTestCompiledCode
(String dbtTestCompiledCode) Compiled code of the test (when the test is defined using Python).dbtTestCompiledSQL
(String dbtTestCompiledSQL) Compiled SQL of the test.dbtTestError
(String dbtTestError) Error message in the case of state being "error".dbtTestLanguage
(String dbtTestLanguage) Language in which the test is written, for example: SQL or Python.dbtTestRawCode
(String dbtTestRawCode) Raw code of the test (when the test is defined using Python).dbtTestRawSQL
(String dbtTestRawSQL) Raw SQL of the test.dbtTestState
(String dbtTestState) Test results.dbtTestStatus
(String dbtTestStatus) Details of the results of the test.dbtUniqueId
(String dbtUniqueId) Unique identifier of this asset in dbt.inputToAirflowTask
(IAirflowTask inputToAirflowTask) inputToAirflowTasks
(Collection<? extends IAirflowTask> inputToAirflowTasks) inputToProcess
(ILineageProcess inputToProcess) inputToProcesses
(Collection<? extends ILineageProcess> inputToProcesses) inputToSparkJob
(ISparkJob inputToSparkJob) inputToSparkJobs
(Collection<? extends ISparkJob> inputToSparkJobs) modelImplementedAttribute
(IModelAttribute modelImplementedAttribute) modelImplementedAttributes
(Collection<? extends IModelAttribute> modelImplementedAttributes) modelImplementedEntities
(Collection<? extends IModelEntity> modelImplementedEntities) modelImplementedEntity
(IModelEntity modelImplementedEntity) outputFromAirflowTask
(IAirflowTask outputFromAirflowTask) outputFromAirflowTasks
(Collection<? extends IAirflowTask> outputFromAirflowTasks) outputFromProcess
(ILineageProcess outputFromProcess) outputFromProcesses
(Collection<? extends ILineageProcess> outputFromProcesses) outputFromSparkJob
(ISparkJob outputFromSparkJob) outputFromSparkJobs
(Collection<? extends ISparkJob> outputFromSparkJobs) protected abstract B
self()
sqlAssets
(Collection<? extends ISQL> sqlAssets) toString()
Fixed typeName for DbtTests.Methods inherited from class com.atlan.model.assets.Asset.AssetBuilder
addStarredBy, adminGroup, adminGroups, adminRole, adminRoles, adminUser, adminUsers, announcementMessage, announcementTitle, announcementType, announcementUpdatedAt, announcementUpdatedBy, anomaloCheck, anomaloChecks, appendAssignedTerm, appendAtlanTag, appendAtlanTag, appendAtlanTags, appendAtlanTags, application, applicationField, applicationFieldQualifiedName, applicationQualifiedName, assetAnomaloAppliedCheckType, assetAnomaloAppliedCheckTypes, assetAnomaloCheckCount, assetAnomaloCheckStatuses, assetAnomaloDQStatus, assetAnomaloFailedCheckCount, assetAnomaloFailedCheckType, assetAnomaloFailedCheckTypes, assetAnomaloLastCheckRunAt, assetAnomaloSourceUrl, assetCoverImage, assetDbtAccountName, assetDbtAlias, assetDbtEnvironmentDbtVersion, assetDbtEnvironmentName, assetDbtJobLastRun, assetDbtJobLastRunArtifactS3Path, assetDbtJobLastRunArtifactsSaved, assetDbtJobLastRunCreatedAt, assetDbtJobLastRunDequedAt, assetDbtJobLastRunExecutedByThreadId, assetDbtJobLastRunGitBranch, assetDbtJobLastRunGitSha, assetDbtJobLastRunHasDocsGenerated, assetDbtJobLastRunHasSourcesGenerated, assetDbtJobLastRunNotificationsSent, assetDbtJobLastRunOwnerThreadId, assetDbtJobLastRunQueuedDuration, assetDbtJobLastRunQueuedDurationHumanized, assetDbtJobLastRunRunDuration, assetDbtJobLastRunRunDurationHumanized, assetDbtJobLastRunStartedAt, assetDbtJobLastRunStatusMessage, assetDbtJobLastRunTotalDuration, assetDbtJobLastRunTotalDurationHumanized, assetDbtJobLastRunUpdatedAt, assetDbtJobLastRunUrl, assetDbtJobName, assetDbtJobNextRun, assetDbtJobNextRunHumanized, assetDbtJobSchedule, assetDbtJobScheduleCronHumanized, assetDbtJobStatus, assetDbtMeta, assetDbtPackageName, assetDbtProjectName, assetDbtSemanticLayerProxyUrl, assetDbtSourceFreshnessCriteria, assetDbtTag, assetDbtTags, assetDbtTestStatus, assetDbtUniqueId, assetDbtWorkflowLastUpdated, assetIcon, assetMcAlertQualifiedName, assetMcAlertQualifiedNames, assetMcIncidentName, assetMcIncidentNames, assetMcIncidentPriorities, assetMcIncidentPriority, assetMcIncidentQualifiedName, assetMcIncidentQualifiedNames, assetMcIncidentSeverities, assetMcIncidentSeverity, assetMcIncidentState, assetMcIncidentStates, assetMcIncidentSubType, assetMcIncidentSubTypes, assetMcIncidentType, assetMcIncidentTypes, assetMcIsMonitored, assetMcLastSyncRunAt, assetMcMonitorName, assetMcMonitorNames, assetMcMonitorQualifiedName, assetMcMonitorQualifiedNames, assetMcMonitorScheduleType, assetMcMonitorScheduleTypes, assetMcMonitorStatus, assetMcMonitorStatuses, assetMcMonitorType, assetMcMonitorTypes, assetPoliciesCount, assetPolicyGUID, assetPolicyGUIDs, assetRedirectGUID, assetRedirectGUIDs, assetSodaCheckCount, assetSodaCheckStatuses, assetSodaDQStatus, assetSodaLastScanAt, assetSodaLastSyncRunAt, assetSodaSourceURL, assetTag, assetTags, assetThemeHex, assetUserDefinedType, assignedTerm, assignedTerms, atlanTag, atlanTagName, atlanTagNames, atlanTags, certificateStatus, certificateStatusMessage, certificateUpdatedAt, certificateUpdatedBy, clearAdminGroups, clearAdminRoles, clearAdminUsers, clearAnomaloChecks, clearAssetAnomaloAppliedCheckTypes, clearAssetAnomaloFailedCheckTypes, clearAssetDbtTags, clearAssetMcAlertQualifiedNames, clearAssetMcIncidentNames, clearAssetMcIncidentPriorities, clearAssetMcIncidentQualifiedNames, clearAssetMcIncidentSeverities, clearAssetMcIncidentStates, clearAssetMcIncidentSubTypes, clearAssetMcIncidentTypes, clearAssetMcMonitorNames, clearAssetMcMonitorQualifiedNames, clearAssetMcMonitorScheduleTypes, clearAssetMcMonitorStatuses, clearAssetMcMonitorTypes, clearAssetPolicyGUIDs, clearAssetRedirectGUIDs, clearAssetTags, clearAssignedTerms, clearAtlanTagNames, clearAtlanTags, clearCustomMetadataSets, clearDomainGUIDs, clearFiles, clearInputPortDataProducts, clearLinks, clearMcIncidents, clearMcMonitors, clearMeaningNames, clearMeanings, clearMetrics, clearNonCompliantAssetPolicyGUIDs, clearNullFields, clearOutputPortDataProducts, clearOutputProductGUIDs, clearOwnerGroups, clearOwnerUsers, clearPendingTasks, clearProductGUIDs, clearSchemaRegistrySubjects, clearSodaChecks, clearSourceQueryComputeCostRecords, clearSourceQueryComputeCosts, clearSourceReadExpensiveQueryRecords, clearSourceReadPopularQueryRecords, clearSourceReadRecentUserRecords, clearSourceReadRecentUsers, clearSourceReadSlowQueryRecords, clearSourceReadTopUserRecords, clearSourceReadTopUsers, clearStarredBy, clearStarredDetails, clearUserDefRelationshipFroms, clearUserDefRelationshipTos, clearViewerGroups, clearViewerUsers, connectionName, connectionQualifiedName, connectorName, connectorType, createdBy, createTime, customConnectorType, customMetadata, customMetadataSets, dataContractLatest, dataContractLatestCertified, dbtQualifiedName, deleteHandler, depth, description, displayName, domainGUID, domainGUIDs, file, files, hasContract, hasLineage, iconUrl, immediateDownstream, immediateUpstream, inputPortDataProduct, inputPortDataProducts, isAIGenerated, isDiscoverable, isEditable, isIncomplete, isPartial, lastRowChangedAt, lastSyncRun, lastSyncRunAt, lastSyncWorkflowName, lexicographicalSortOrder, link, links, mcIncident, mcIncidents, mcMonitor, mcMonitors, meaning, meaningName, meaningNames, meanings, metric, metrics, name, nonCompliantAssetPolicyGUID, nonCompliantAssetPolicyGUIDs, nullField, nullFields, outputPortDataProduct, outputPortDataProducts, outputProductGUID, outputProductGUIDs, ownerGroup, ownerGroups, ownerUser, ownerUsers, pendingTask, pendingTasks, popularityScore, productGUID, productGUIDs, qualifiedName, readme, removeAnnouncement, removeAssignedTerm, removeAssignedTerms, removeAtlanTag, removeAtlanTags, removeAtlanTags, removeCertificate, removeCustomMetadata, removeDescription, removeOwners, removeUserDescription, sampleDataUrl, schemaRegistrySubject, schemaRegistrySubjects, sodaCheck, sodaChecks, sourceCostUnit, sourceCreatedAt, sourceCreatedBy, sourceEmbedURL, sourceLastReadAt, sourceOwners, sourceQueryComputeCost, sourceQueryComputeCostRecord, sourceQueryComputeCostRecords, sourceQueryComputeCosts, sourceReadCount, sourceReadExpensiveQueryRecord, sourceReadExpensiveQueryRecords, sourceReadPopularQueryRecord, sourceReadPopularQueryRecords, sourceReadQueryCost, sourceReadRecentUser, sourceReadRecentUserRecord, sourceReadRecentUserRecords, sourceReadRecentUsers, sourceReadSlowQueryRecord, sourceReadSlowQueryRecords, sourceReadTopUser, sourceReadTopUserRecord, sourceReadTopUserRecords, sourceReadTopUsers, sourceReadUserCount, sourceTotalCost, sourceUpdatedAt, sourceUpdatedBy, sourceURL, starredBy, starredCount, starredDetail, starredDetails, status, subType, tenantId, updatedBy, updateTime, userDefRelationshipFrom, userDefRelationshipFroms, userDefRelationshipTo, userDefRelationshipTos, userDescription, viewerGroup, viewerGroups, viewerUser, viewerUsers, viewScore
Methods inherited from class com.atlan.model.relations.Reference.ReferenceBuilder
clearCustomAttributes, clearLabels, completeObject, customAttribute, customAttributes, displayText, entityStatus, guid, label, labels, relationshipAttributes, relationshipGuid, relationshipStatus, relationshipType, semantic, uniqueAttributes
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
DbtTestBuilder
public DbtTestBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAsset.AssetBuilder<C extends DbtTest,
B extends DbtTest.DbtTestBuilder<C, B>>
-
typeName
Fixed typeName for DbtTests.- Overrides:
typeName
in classReference.ReferenceBuilder<C extends DbtTest,
B extends DbtTest.DbtTestBuilder<C, B>> - Returns:
this
.
-
dbtAccountName
Name of the account in which this asset exists in dbt.- Returns:
this
.
-
dbtAlias
Alias of this asset in dbt.- Returns:
this
.
-
dbtConnectionContext
Connection context for this asset in dbt.- Returns:
this
.
-
dbtEnvironmentDbtVersion
Version of dbt used in the environment.- Returns:
this
.
-
dbtEnvironmentName
Name of the environment in which this asset exists in dbt.- Returns:
this
.
-
dbtJobLastRun
Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.- Returns:
this
.
-
dbtJobName
Name of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobNextRun
Time (epoch) at which the job that materialized this asset in dbt will next run, in milliseconds.- Returns:
this
.
-
dbtJobNextRunHumanized
Human-readable time at which the job that materialized this asset in dbt will next run.- Returns:
this
.
-
dbtJobRun
-
dbtJobRuns
-
clearDbtJobRuns
-
dbtJobSchedule
Schedule of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobScheduleCronHumanized
Human-readable cron schedule of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobStatus
Status of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtMeta
Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.- Returns:
this
.
-
dbtModelColumn
-
dbtModelColumns
-
clearDbtModelColumns
-
dbtModel
-
dbtModels
-
clearDbtModels
-
dbtPackageName
Name of the package in which this asset exists in dbt.- Returns:
this
.
-
dbtProjectName
Name of the project in which this asset exists in dbt.- Returns:
this
.
-
dbtSemanticLayerProxyUrl
URL of the semantic layer proxy for this asset in dbt.- Returns:
this
.
-
dbtSource
-
dbtSources
-
clearDbtSources
-
dbtTag
-
dbtTags
-
clearDbtTags
-
dbtTestCompiledCode
Compiled code of the test (when the test is defined using Python).- Returns:
this
.
-
dbtTestCompiledSQL
Compiled SQL of the test.- Returns:
this
.
-
dbtTestError
Error message in the case of state being "error".- Returns:
this
.
-
dbtTestLanguage
Language in which the test is written, for example: SQL or Python.- Returns:
this
.
-
dbtTestRawCode
Raw code of the test (when the test is defined using Python).- Returns:
this
.
-
dbtTestRawSQL
Raw SQL of the test.- Returns:
this
.
-
dbtTestState
Test results. Can be one of, in order of severity, "error", "fail", "warn", "pass".- Returns:
this
.
-
dbtTestStatus
Details of the results of the test. For errors, it reads "ERROR".- Returns:
this
.
-
dbtUniqueId
Unique identifier of this asset in dbt.- Returns:
this
.
-
inputToAirflowTask
-
inputToAirflowTasks
-
clearInputToAirflowTasks
-
inputToProcess
-
inputToProcesses
-
clearInputToProcesses
-
inputToSparkJob
-
inputToSparkJobs
-
clearInputToSparkJobs
-
modelImplementedAttribute
-
modelImplementedAttributes
public B modelImplementedAttributes(Collection<? extends IModelAttribute> modelImplementedAttributes) -
clearModelImplementedAttributes
-
modelImplementedEntity
-
modelImplementedEntities
-
clearModelImplementedEntities
-
outputFromAirflowTask
-
outputFromAirflowTasks
-
clearOutputFromAirflowTasks
-
outputFromProcess
-
outputFromProcesses
-
clearOutputFromProcesses
-
outputFromSparkJob
-
outputFromSparkJobs
-
clearOutputFromSparkJobs
-
sqlAsset
-
sqlAssets
-
clearSqlAssets
-
self
- Specified by:
self
in classAsset.AssetBuilder<C extends DbtTest,
B extends DbtTest.DbtTestBuilder<C, B>>
-
build
- Specified by:
build
in classAsset.AssetBuilder<C extends DbtTest,
B extends DbtTest.DbtTestBuilder<C, B>>
-
toString
- Overrides:
toString
in classAsset.AssetBuilder<C extends DbtTest,
B extends DbtTest.DbtTestBuilder<C, B>>
-