public static class AttributeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AttributeSummary.Builder |
associatedRuleTypes(List<RuleType> associatedRuleTypes)
Rule types associated with attribute.
|
AttributeSummary |
build() |
AttributeSummary.Builder |
businessName(String businessName)
Optional user friendly business name of the attribute.
|
AttributeSummary.Builder |
copy(AttributeSummary model) |
AttributeSummary.Builder |
customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
AttributeSummary.Builder |
datatypeEntityKey(String datatypeEntityKey)
Entity key that represents the datatype of this attribute , applicable if this attribute
is a complex type.
|
AttributeSummary.Builder |
description(String description)
Detailed description of the attribute.
|
AttributeSummary.Builder |
displayName(String displayName)
A user-friendly display name.
|
AttributeSummary.Builder |
entityKey(String entityKey)
The unique key of the parent entity.
|
AttributeSummary.Builder |
externalDataType(String externalDataType)
Data type of the attribute as defined in the external source system.
|
AttributeSummary.Builder |
externalDatatypeEntityKey(String externalDatatypeEntityKey)
External entity key that represents the datatype of this attribute , applicable if this
attribute is a complex type.
|
AttributeSummary.Builder |
externalKey(String externalKey)
Unique external key of this attribute in the external source system.
|
AttributeSummary.Builder |
externalParentAttributeKey(String externalParentAttributeKey)
External attribute key that represents the parent attribute of this attribute ,
applicable if the parent attribute is of complex type.
|
AttributeSummary.Builder |
isDerivedAttribute(Boolean isDerivedAttribute)
Whether a column is derived or not.
|
AttributeSummary.Builder |
isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned null values.
|
AttributeSummary.Builder |
key(String key)
Unique attribute key that is immutable.
|
AttributeSummary.Builder |
length(Long length)
Max allowed length of the attribute value.
|
AttributeSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
AttributeSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
State of the attribute.
|
AttributeSummary.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.
|
AttributeSummary.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.
|
AttributeSummary.Builder |
parentAttributeKey(String parentAttributeKey)
Attribute key that represents the parent attribute of this attribute , applicable if the
parent attribute is of complex datatype.
|
AttributeSummary.Builder |
path(String path)
Full path of the attribute.
|
AttributeSummary.Builder |
position(Integer position)
Position of the attribute in the record definition.
|
AttributeSummary.Builder |
precision(Integer precision)
Precision of the attribute value usually applies to float data type.
|
AttributeSummary.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the attribute type.
|
AttributeSummary.Builder |
scale(Integer scale)
Scale of the attribute value usually applies to float data type.
|
AttributeSummary.Builder |
timeCreated(Date timeCreated)
The date and time the attribute was created, in the format defined by
RFC3339.
|
AttributeSummary.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the attribute.
|
AttributeSummary.Builder |
typeKey(String typeKey)
The type of the attribute.
|
AttributeSummary.Builder |
uri(String uri)
URI to the attribute instance in the API.
|
public AttributeSummary.Builder key(String key)
Unique attribute key that is immutable.
key
- the value to setpublic AttributeSummary.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 AttributeSummary.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 AttributeSummary.Builder description(String description)
Detailed description of the attribute.
description
- the value to setpublic AttributeSummary.Builder entityKey(String entityKey)
The unique key of the parent entity.
entityKey
- the value to setpublic AttributeSummary.Builder externalKey(String externalKey)
Unique external key of this attribute in the external source system.
externalKey
- the value to setpublic AttributeSummary.Builder length(Long length)
Max allowed length of the attribute value.
length
- the value to setpublic AttributeSummary.Builder position(Integer position)
Position of the attribute in the record definition.
position
- the value to setpublic AttributeSummary.Builder precision(Integer precision)
Precision of the attribute value usually applies to float data type.
precision
- the value to setpublic AttributeSummary.Builder scale(Integer scale)
Scale of the attribute value usually applies to float data type.
scale
- the value to setpublic AttributeSummary.Builder isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned null values.
isNullable
- the value to setpublic AttributeSummary.Builder uri(String uri)
URI to the attribute instance in the API.
uri
- the value to setpublic AttributeSummary.Builder lifecycleState(LifecycleState lifecycleState)
State of the attribute.
lifecycleState
- the value to setpublic AttributeSummary.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 AttributeSummary.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 AttributeSummary.Builder externalDataType(String externalDataType)
Data type of the attribute as defined in the external source system.
externalDataType
- the value to setpublic AttributeSummary.Builder typeKey(String typeKey)
The type of the attribute. Type keys can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic AttributeSummary.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 AttributeSummary.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 AttributeSummary.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 AttributeSummary.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 AttributeSummary.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 AttributeSummary.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 AttributeSummary.Builder path(String path)
Full path of the attribute.
path
- the value to setpublic AttributeSummary.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic AttributeSummary.Builder associatedRuleTypes(List<RuleType> associatedRuleTypes)
Rule types associated with attribute.
associatedRuleTypes
- the value to setpublic AttributeSummary.Builder isDerivedAttribute(Boolean isDerivedAttribute)
Whether a column is derived or not.
isDerivedAttribute
- the value to setpublic AttributeSummary.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 AttributeSummary.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 AttributeSummary build()
public AttributeSummary.Builder copy(AttributeSummary model)
Copyright © 2016–2024. All rights reserved.