Package com.atlan.model.contracts
Class DataContractSpec
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.contracts.DataContractSpec
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DCS_V_0_0_2
Capture the detailed specification of a data contract for an asset.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static class
DataContractSpec.DataContractSpecBuilder<C extends DataContractSpec,
B extends DataContractSpec.DataContractSpecBuilder<C, B>> static final class
static final class
static final class
Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataContractSpec.DataContractSpecBuilder<?,
?> protected boolean
boolean
static DataContractSpec
fromString
(String spec) Parse a DataContractSpec object from the provided string form of the specification.Announcement to apply to the dataset.Certification to apply to the dataset.List of checks to run to verify data quality of the dataset.Details of each column in the dataset to be governed.Custom metadata for the dataset.Name of the asset as it exists inside Atlan.Name that must match a data source defined in your config file.Description of this dataset.getKind()
Controls the specification as one for a data contract.Owners of the dataset, which can include users (by username) and / or groups (by internal Atlan alias).State of the contract.getTags()
Atlan tags for the dataset.Version of the template for the data contract.getTerms()
Glossary terms to assign to the dataset.getType()
Type of the dataset in Atlan.int
hashCode()
toString()
Translate this DataContractSpec object into a YAML string representation.Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
DataContractSpec
-
-
Method Details
-
getExtraProperties
-
fromString
Parse a DataContractSpec object from the provided string form of the specification. Note: all comments and empty fields will be lost during conversion to an object.- Parameters:
spec
- YAML string form of the data contract specification- Returns:
- object representing the data contract
- Throws:
IOException
- on any errors parsing the provided string as a data contract specification
-
toString
Translate this DataContractSpec object into a YAML string representation. Note: will not contain any comments or empty fields.- Overrides:
toString
in classAtlanObject
- Returns:
- YAML string representation of the data contract specification
-
_internal
-
toBuilder
-
getKind
Controls the specification as one for a data contract. -
getStatus
State of the contract. -
getTemplateVersion
Version of the template for the data contract. -
getDataset
Name of the asset as it exists inside Atlan. -
getType
Type of the dataset in Atlan. -
getDescription
Description of this dataset. -
getDatasource
Name that must match a data source defined in your config file. -
getOwners
Owners of the dataset, which can include users (by username) and / or groups (by internal Atlan alias). -
getCertification
Certification to apply to the dataset. -
getAnnouncement
Announcement to apply to the dataset. -
getTerms
Glossary terms to assign to the dataset. -
getTags
Atlan tags for the dataset. -
getCustomMetadataSets
Custom metadata for the dataset. -
getColumns
Details of each column in the dataset to be governed. -
getChecks
List of checks to run to verify data quality of the dataset. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-