Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Attribute.Builder |
associatedRuleTypes(List<RuleType> associatedRuleTypes)
Rule types associated with attribute.
|
Attribute |
build() |
Attribute.Builder |
businessName(String businessName)
Optional user friendly business name of the attribute.
|
Attribute.Builder |
copy(Attribute model) |
Attribute.Builder |
createdById(String createdById)
OCID of the user who created this attribute in the data catalog.
|
Attribute.Builder |
customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
Attribute.Builder |
datatypeEntityKey(String datatypeEntityKey)
Entity key that represents the datatype of this attribute , applicable if this attribute
is a complex type.
|
Attribute.Builder |
description(String description)
Detailed description of the attribute.
|
Attribute.Builder |
displayName(String displayName)
A user-friendly display name.
|
Attribute.Builder |
entityKey(String entityKey)
The unique key of the parent entity.
|
Attribute.Builder |
externalDataType(String externalDataType)
Data type of the attribute as defined in the external system.
|
Attribute.Builder |
externalDatatypeEntityKey(String externalDatatypeEntityKey)
External entity key that represents the datatype of this attribute , applicable if this
attribute is a complex type.
|
Attribute.Builder |
externalKey(String externalKey)
Unique external key of this attribute in the external source system.
|
Attribute.Builder |
externalParentAttributeKey(String externalParentAttributeKey)
External attribute key that represents the parent attribute of this attribute ,
applicable if the parent attribute is of complex type.
|
Attribute.Builder |
isDerivedAttribute(Boolean isDerivedAttribute)
Whether a column is derived or not.
|
Attribute.Builder |
isIncrementalData(Boolean isIncrementalData)
Property that identifies if this attribute can be used as a watermark to extract
incremental data.
|
Attribute.Builder |
isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned null values.
|
Attribute.Builder |
key(String key)
Unique attribute key that is immutable.
|
Attribute.Builder |
length(Long length)
Max allowed length of the attribute value.
|
Attribute.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Attribute.Builder |
lifecycleState(LifecycleState lifecycleState)
State of the attribute.
|
Attribute.Builder |
maxCollectionCount(Integer maxCollectionCount)
The maximum count for the number of instances of a given type stored in this collection
type attribute,applicable if this attribute is a complex type.
|
Attribute.Builder |
minCollectionCount(Integer minCollectionCount)
The minimum count for the number of instances of a given type stored in this collection
type attribute,applicable if this attribute is a complex type.
|
Attribute.Builder |
objectRelationships(List<ObjectRelationship> objectRelationships)
List of objects and their relationships to this attribute.
|
Attribute.Builder |
parentAttributeKey(String parentAttributeKey)
Attribute key that represents the parent attribute of this attribute , applicable if the
parent attribute is of complex datatype.
|
Attribute.Builder |
path(String path)
Full path of the attribute.
|
Attribute.Builder |
position(Integer position)
Position of the attribute in the record definition.
|
Attribute.Builder |
precision(Integer precision)
Precision of the attribute value usually applies to float data type.
|
Attribute.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the attribute type.
|
Attribute.Builder |
scale(Integer scale)
Scale of the attribute value usually applies to float data type.
|
Attribute.Builder |
timeCreated(Date timeCreated)
The date and time the attribute was created, in the format defined by
RFC3339.
|
Attribute.Builder |
timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
|
Attribute.Builder |
timeHarvested(Date timeHarvested)
The date and time the attribute was harvested, in the format defined by
RFC3339.
|
Attribute.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the attribute.
|
Attribute.Builder |
typeKey(String typeKey)
The type of the attribute.
|
Attribute.Builder |
updatedById(String updatedById)
OCID of the user who modified this attribute in the data catalog.
|
Attribute.Builder |
uri(String uri)
URI to the attribute instance in the API.
|
public Attribute.Builder key(String key)
Unique attribute key that is immutable.
key
- the value to setpublic Attribute.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic Attribute.Builder businessName(String businessName)
Optional user friendly business name of the attribute. If set, this supplements the harvested display name of the object.
businessName
- the value to setpublic Attribute.Builder description(String description)
Detailed description of the attribute.
description
- the value to setpublic Attribute.Builder entityKey(String entityKey)
The unique key of the parent entity.
entityKey
- the value to setpublic Attribute.Builder lifecycleState(LifecycleState lifecycleState)
State of the attribute.
lifecycleState
- the value to setpublic Attribute.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details.
lifecycleDetails
- the value to setpublic Attribute.Builder timeCreated(Date timeCreated)
The date and time the attribute was created, in the format defined by
RFC3339. Example: 2019-03-25T21:10:29.600Z
timeCreated
- the value to setpublic Attribute.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the attribute. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Attribute.Builder createdById(String createdById)
OCID of the user who created this attribute in the data catalog.
createdById
- the value to setpublic Attribute.Builder updatedById(String updatedById)
OCID of the user who modified this attribute in the data catalog.
updatedById
- the value to setpublic Attribute.Builder externalDataType(String externalDataType)
Data type of the attribute as defined in the external system. Type mapping across systems can be achieved through term associations across domains in the ontology. The attribute can also be tagged to the datatype in the domain ontology to resolve any ambiguity arising from type name similarity that can occur with user defined types.
externalDataType
- the value to setpublic Attribute.Builder externalKey(String externalKey)
Unique external key of this attribute in the external source system.
externalKey
- the value to setpublic Attribute.Builder isIncrementalData(Boolean isIncrementalData)
Property that identifies if this attribute can be used as a watermark to extract incremental data.
isIncrementalData
- the value to setpublic Attribute.Builder isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned null values.
isNullable
- the value to setpublic Attribute.Builder typeKey(String typeKey)
The type of the attribute. Type keys can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic Attribute.Builder minCollectionCount(Integer minCollectionCount)
The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.
minCollectionCount
- the value to setpublic Attribute.Builder maxCollectionCount(Integer maxCollectionCount)
The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. For type specifications in systems that specify only “capacity” without upper or lower bound , this property can also be used to just mean “capacity”. Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json
maxCollectionCount
- the value to setpublic Attribute.Builder datatypeEntityKey(String datatypeEntityKey)
Entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.
datatypeEntityKey
- the value to setpublic Attribute.Builder externalDatatypeEntityKey(String externalDatatypeEntityKey)
External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.
externalDatatypeEntityKey
- the value to setpublic Attribute.Builder parentAttributeKey(String parentAttributeKey)
Attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex datatype.
parentAttributeKey
- the value to setpublic Attribute.Builder externalParentAttributeKey(String externalParentAttributeKey)
External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type.
externalParentAttributeKey
- the value to setpublic Attribute.Builder length(Long length)
Max allowed length of the attribute value.
length
- the value to setpublic Attribute.Builder position(Integer position)
Position of the attribute in the record definition.
position
- the value to setpublic Attribute.Builder precision(Integer precision)
Precision of the attribute value usually applies to float data type.
precision
- the value to setpublic Attribute.Builder scale(Integer scale)
Scale of the attribute value usually applies to float data type.
scale
- the value to setpublic Attribute.Builder timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
timeExternal
- the value to setpublic Attribute.Builder timeHarvested(Date timeHarvested)
The date and time the attribute was harvested, in the format defined by RFC3339.
timeHarvested
- the value to setpublic Attribute.Builder objectRelationships(List<ObjectRelationship> objectRelationships)
List of objects and their relationships to this attribute.
objectRelationships
- the value to setpublic Attribute.Builder isDerivedAttribute(Boolean isDerivedAttribute)
Whether a column is derived or not.
isDerivedAttribute
- the value to setpublic Attribute.Builder uri(String uri)
URI to the attribute instance in the API.
uri
- the value to setpublic Attribute.Builder path(String path)
Full path of the attribute.
path
- the value to setpublic Attribute.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic Attribute.Builder properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the attribute type. Each
attribute type definition defines it’s set of required and optional properties. The map
keys are category names and the values are maps of property name to property value. Every
property is contained inside of a category. Most attributes have required properties
within the “default” category. Example: {"properties": { "default": { "key1":
"value1"}}}
properties
- the value to setpublic Attribute.Builder associatedRuleTypes(List<RuleType> associatedRuleTypes)
Rule types associated with attribute.
associatedRuleTypes
- the value to setpublic Attribute build()
public Attribute.Builder copy(Attribute model)
Copyright © 2016–2024. All rights reserved.