Package com.atlan.model.contracts
Class DataContractSpec.DataContractSpecBuilder<C extends DataContractSpec,B extends DataContractSpec.DataContractSpecBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.contracts.DataContractSpec.DataContractSpecBuilder<C,B>
- Direct Known Subclasses:
DCS_V_0_0_2.DCS_V_0_0_2Builder
- Enclosing class:
- DataContractSpec
public abstract static class DataContractSpec.DataContractSpecBuilder<C extends DataContractSpec,B extends DataContractSpec.DataContractSpecBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) announcement
(DataContractSpec.Announcement announcement) Announcement to apply to the dataset.abstract C
build()
certification
(DataContractSpec.Certification certification) Certification to apply to the dataset.checks
(Collection<? extends String> checks) column
(DataContractSpec.DCColumn column) columns
(Collection<? extends DataContractSpec.DCColumn> columns) customMetadataSet
(String customMetadataSetKey, CustomMetadataAttributes customMetadataSetValue) customMetadataSets
(Map<? extends String, ? extends CustomMetadataAttributes> customMetadataSets) Name of the asset as it exists inside Atlan.datasource
(String datasource) Name that must match a data source defined in your config file.description
(String description) Description of this dataset.extraProperties
(Map<? extends String, ? extends Object> extraProperties) extraProperty
(String extraPropertyKey, Object extraPropertyValue) Controls the specification as one for a data contract.owners
(DataContractSpec.Owners owners) Owners of the dataset, which can include users (by username) and / or groups (by internal Atlan alias).protected abstract B
self()
status
(DataContractStatus status) State of the contract.tags
(Collection<? extends DataContractSpec.DCTag> tags) templateVersion
(String templateVersion) Version of the template for the data contract.terms
(Collection<? extends String> terms) toString()
Type of the dataset in Atlan.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
DataContractSpecBuilder
public DataContractSpecBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends DataContractSpec,
B extends DataContractSpec.DataContractSpecBuilder<C, B>>
-
kind
Controls the specification as one for a data contract.- Returns:
this
.
-
status
State of the contract.- Returns:
this
.
-
templateVersion
Version of the template for the data contract.- Returns:
this
.
-
dataset
Name of the asset as it exists inside Atlan.- Returns:
this
.
-
type
Type of the dataset in Atlan.- Returns:
this
.
-
description
Description of this dataset.- Returns:
this
.
-
datasource
Name that must match a data source defined in your config file.- Returns:
this
.
-
owners
Owners of the dataset, which can include users (by username) and / or groups (by internal Atlan alias).- Returns:
this
.
-
certification
Certification to apply to the dataset.- Returns:
this
.
-
announcement
Announcement to apply to the dataset.- Returns:
this
.
-
term
-
terms
-
clearTerms
-
tag
-
tags
-
clearTags
-
customMetadataSet
public B customMetadataSet(String customMetadataSetKey, CustomMetadataAttributes customMetadataSetValue) -
customMetadataSets
public B customMetadataSets(Map<? extends String, ? extends CustomMetadataAttributes> customMetadataSets) -
clearCustomMetadataSets
-
column
-
columns
-
clearColumns
-
check
-
checks
-
clearChecks
-
extraProperty
-
extraProperties
-
clearExtraProperties
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends DataContractSpec,
B extends DataContractSpec.DataContractSpecBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends DataContractSpec,
B extends DataContractSpec.DataContractSpecBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends DataContractSpec,
B extends DataContractSpec.DataContractSpecBuilder<C, B>>
-