Package com.atlan.model.assets
Class Connection.ConnectionBuilder<C extends Connection,B extends Connection.ConnectionBuilder<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.Connection.ConnectionBuilder<C,B>
- Enclosing class:
- Connection
public abstract static class Connection.ConnectionBuilder<C extends Connection,B extends Connection.ConnectionBuilder<C,B>>
extends Asset.AssetBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) allowQuery
(Boolean allowQuery) Whether using this connection to run queries on the source is allowed (true) or not (false).allowQueryPreview
(Boolean allowQueryPreview) Whether using this connection to run preview queries on the source is allowed (true) or not (false).abstract C
build()
category
(AtlanConnectionCategory category) Type of connection, for example WAREHOUSE, RDBMS, etc.connectionDbtEnvironment
(String connectionDbtEnvironment) connectionDbtEnvironments
(Collection<? extends String> connectionDbtEnvironments) connectionSSOCredentialGuid
(String connectionSSOCredentialGuid) Unique identifier (GUID) for the SSO credentials to use for this connection.connectorIcon
(String connectorIcon) Unused.connectorImage
(String connectorImage) Unused.credentialStrategy
(String credentialStrategy) Credential strategy to use for this connection for queries.defaultCredentialGuid
(String defaultCredentialGuid) Unique identifier (GUID) for the default credentials to use for this connection.hasPopularityInsights
(Boolean hasPopularityInsights) Whether this connection has popularity insights (true) or not (false).Host name of this connection's source.isSampleDataPreviewEnabled
(Boolean isSampleDataPreviewEnabled) Whether sample data can be previewed for this connection (true) or not (false).objectStorageUploadThreshold
(Long objectStorageUploadThreshold) Number of rows after which results should be uploaded to storage.policyStrategy
(String policyStrategy) Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten, applicable for stream api call made from insight screenpolicyStrategyForSamplePreview
(String policyStrategyForSamplePreview) Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten.popularityInsightsTimeframe
(Long popularityInsightsTimeframe) Number of days over which popularity is calculated, for example 30 days.Port number to this connection's source.previewCredentialStrategy
(String previewCredentialStrategy) Credential strategy to use for this connection for preview queries.putQueryPreviewConfig
(String putQueryPreviewConfigKey, String putQueryPreviewConfigValue) queryConfig
(String queryConfig) Query config for this connection.queryPreviewConfig
(Map<? extends String, ? extends String> queryPreviewConfig) queryTimeout
(Long queryTimeout) Maximum time a query should be allowed to run before timing out.queryUsernameStrategy
(QueryUsernameStrategy queryUsernameStrategy) Username strategy to use for this connection for queries.Maximum number of rows that can be returned for the source.protected abstract B
self()
sourceLogo
(String sourceLogo) Unused.subCategory
(String subCategory) Subcategory of this connection.toString()
Fixed typeName for Connections.useObjectStorage
(Boolean useObjectStorage) Whether to upload to S3, GCP, or another storage location (true) or not (false).vectorEmbeddingsEnabled
(Boolean vectorEmbeddingsEnabled) TBCvectorEmbeddingsUpdatedAt
(Long vectorEmbeddingsUpdatedAt) TBCMethods inherited from class com.atlan.model.assets.Asset.AssetBuilder
addStarredBy, adminGroup, adminGroups, adminRole, adminRoles, adminUser, adminUsers, announcementMessage, announcementTitle, announcementType, announcementUpdatedAt, announcementUpdatedBy, anomaloCheck, anomaloChecks, 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, assetMcLastSyncRunAt, assetMcMonitorName, assetMcMonitorNames, assetMcMonitorQualifiedName, assetMcMonitorQualifiedNames, assetMcMonitorScheduleType, assetMcMonitorScheduleTypes, assetMcMonitorStatus, assetMcMonitorStatuses, assetMcMonitorType, assetMcMonitorTypes, assetPoliciesCount, assetPolicyGUID, assetPolicyGUIDs, assetSodaCheckCount, assetSodaCheckStatuses, assetSodaDQStatus, assetSodaLastScanAt, assetSodaLastSyncRunAt, assetSodaSourceURL, assetTag, assetTags, assetThemeHex, 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, clearAssetTags, clearAssignedTerms, clearAtlanTagNames, clearAtlanTags, clearCustomMetadataSets, clearDomainGUIDs, clearFiles, clearInputPortDataProducts, clearLinks, clearMcIncidents, clearMcMonitors, clearMeaningNames, clearMeanings, clearMetrics, clearNonCompliantAssetPolicyGUIDs, clearNullFields, clearOutputPortDataProducts, clearOwnerGroups, clearOwnerUsers, clearPendingTasks, clearSchemaRegistrySubjects, clearSodaChecks, clearSourceQueryComputeCostRecords, clearSourceQueryComputeCosts, clearSourceReadExpensiveQueryRecords, clearSourceReadPopularQueryRecords, clearSourceReadRecentUserRecords, clearSourceReadRecentUsers, clearSourceReadSlowQueryRecords, clearSourceReadTopUserRecords, clearSourceReadTopUsers, clearStarredBy, clearStarredDetails, clearUserDefRelationshipFroms, clearUserDefRelationshipTos, clearViewerGroups, clearViewerUsers, connectionName, connectionQualifiedName, connectorType, createdBy, createTime, customMetadata, customMetadataSets, dataContractLatest, dataContractLatestCertified, dbtQualifiedName, deleteHandler, depth, description, displayName, domainGUID, domainGUIDs, file, files, hasContract, hasLineage, 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, ownerGroup, ownerGroups, ownerUser, ownerUsers, pendingTask, pendingTasks, popularityScore, qualifiedName, readme, removeAnnouncement, removeAssignedTerms, 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
-
ConnectionBuilder
public ConnectionBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAsset.AssetBuilder<C extends Connection,
B extends Connection.ConnectionBuilder<C, B>>
-
typeName
Fixed typeName for Connections.- Overrides:
typeName
in classReference.ReferenceBuilder<C extends Connection,
B extends Connection.ConnectionBuilder<C, B>> - Returns:
this
.
-
allowQuery
Whether using this connection to run queries on the source is allowed (true) or not (false).- Returns:
this
.
-
allowQueryPreview
Whether using this connection to run preview queries on the source is allowed (true) or not (false).- Returns:
this
.
-
category
Type of connection, for example WAREHOUSE, RDBMS, etc.- Returns:
this
.
-
connectionDbtEnvironment
-
connectionDbtEnvironments
-
clearConnectionDbtEnvironments
-
connectionSSOCredentialGuid
Unique identifier (GUID) for the SSO credentials to use for this connection.- Returns:
this
.
-
connectorIcon
Unused. Only the value of connectorType impacts icons.- Returns:
this
.
-
connectorImage
Unused. Only the value of connectorType impacts icons.- Returns:
this
.
-
credentialStrategy
Credential strategy to use for this connection for queries.- Returns:
this
.
-
defaultCredentialGuid
Unique identifier (GUID) for the default credentials to use for this connection.- Returns:
this
.
-
hasPopularityInsights
Whether this connection has popularity insights (true) or not (false).- Returns:
this
.
-
host
Host name of this connection's source.- Returns:
this
.
-
isSampleDataPreviewEnabled
Whether sample data can be previewed for this connection (true) or not (false).- Returns:
this
.
-
objectStorageUploadThreshold
Number of rows after which results should be uploaded to storage.- Returns:
this
.
-
policyStrategy
Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten, applicable for stream api call made from insight screen- Returns:
this
.
-
policyStrategyForSamplePreview
Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten. policyStrategyForSamplePreview config is applicable for sample preview call from assets screen- Returns:
this
.
-
popularityInsightsTimeframe
Number of days over which popularity is calculated, for example 30 days.- Returns:
this
.
-
port
Port number to this connection's source.- Returns:
this
.
-
previewCredentialStrategy
Credential strategy to use for this connection for preview queries.- Returns:
this
.
-
queryConfig
Query config for this connection.- Returns:
this
.
-
putQueryPreviewConfig
-
queryPreviewConfig
-
clearQueryPreviewConfig
-
queryTimeout
Maximum time a query should be allowed to run before timing out.- Returns:
this
.
-
queryUsernameStrategy
Username strategy to use for this connection for queries.- Returns:
this
.
-
rowLimit
Maximum number of rows that can be returned for the source.- Returns:
this
.
-
sourceLogo
Unused. Only the value of connectorType impacts icons.- Returns:
this
.
-
subCategory
Subcategory of this connection.- Returns:
this
.
-
useObjectStorage
Whether to upload to S3, GCP, or another storage location (true) or not (false).- Returns:
this
.
-
vectorEmbeddingsEnabled
TBC- Returns:
this
.
-
vectorEmbeddingsUpdatedAt
TBC- Returns:
this
.
-
self
- Specified by:
self
in classAsset.AssetBuilder<C extends Connection,
B extends Connection.ConnectionBuilder<C, B>>
-
build
- Specified by:
build
in classAsset.AssetBuilder<C extends Connection,
B extends Connection.ConnectionBuilder<C, B>>
-
toString
- Overrides:
toString
in classAsset.AssetBuilder<C extends Connection,
B extends Connection.ConnectionBuilder<C, B>>
-