public static class UpdateAttributeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateAttributeDetails |
build() |
UpdateAttributeDetails.Builder |
businessName(String businessName)
Optional user friendly business name of the attribute.
|
UpdateAttributeDetails.Builder |
copy(UpdateAttributeDetails model) |
UpdateAttributeDetails.Builder |
customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
UpdateAttributeDetails.Builder |
description(String description)
Detailed description of the attribute.
|
UpdateAttributeDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
UpdateAttributeDetails.Builder |
externalDataType(String externalDataType)
Data type of the attribute as defined in the external system.
|
UpdateAttributeDetails.Builder |
externalDatatypeEntityKey(String externalDatatypeEntityKey)
External entity key that represents the datatype of this attribute , applicable if this
attribute is a complex type.
|
UpdateAttributeDetails.Builder |
externalParentAttributeKey(String externalParentAttributeKey)
External attribute key that represents the parent attribute of this attribute ,
applicable if the parent attribute is of complex type.
|
UpdateAttributeDetails.Builder |
isIncrementalData(Boolean isIncrementalData)
Property that identifies if this attribute can be used as a watermark to extract
incremental data.
|
UpdateAttributeDetails.Builder |
isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned nullable values.
|
UpdateAttributeDetails.Builder |
length(Long length)
Max allowed length of the attribute value.
|
UpdateAttributeDetails.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.
|
UpdateAttributeDetails.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.
|
UpdateAttributeDetails.Builder |
position(Integer position)
Position of the attribute in the record definition.
|
UpdateAttributeDetails.Builder |
precision(Integer precision)
Precision of the attribute value usually applies to float data type.
|
UpdateAttributeDetails.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the attribute type.
|
UpdateAttributeDetails.Builder |
scale(Integer scale)
Scale of the attribute value usually applies to float data type.
|
UpdateAttributeDetails.Builder |
timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
|
public UpdateAttributeDetails.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 UpdateAttributeDetails.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 UpdateAttributeDetails.Builder description(String description)
Detailed description of the attribute.
description
- the value to setpublic UpdateAttributeDetails.Builder externalDataType(String externalDataType)
Data type of the attribute as defined in the external system.
externalDataType
- the value to setpublic UpdateAttributeDetails.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 UpdateAttributeDetails.Builder isNullable(Boolean isNullable)
Property that identifies if this attribute can be assigned nullable values.
isNullable
- the value to setpublic UpdateAttributeDetails.Builder length(Long length)
Max allowed length of the attribute value.
length
- the value to setpublic UpdateAttributeDetails.Builder position(Integer position)
Position of the attribute in the record definition.
position
- the value to setpublic UpdateAttributeDetails.Builder precision(Integer precision)
Precision of the attribute value usually applies to float data type.
precision
- the value to setpublic UpdateAttributeDetails.Builder scale(Integer scale)
Scale of the attribute value usually applies to float data type.
scale
- the value to setpublic UpdateAttributeDetails.Builder timeExternal(Date timeExternal)
Last modified timestamp of this object in the external system.
timeExternal
- the value to setpublic UpdateAttributeDetails.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 UpdateAttributeDetails.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 UpdateAttributeDetails.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 UpdateAttributeDetails.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 UpdateAttributeDetails.Builder customPropertyMembers(List<CustomPropertySetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic UpdateAttributeDetails.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. To determine the set of required and optional properties
for an Attribute type, a query can be done on ‘/types?type=attribute’ which returns a
collection of all attribute types. The appropriate attribute type, which will include
definitions of all of it’s properties, can be identified from this collection. Example:
{"properties": { "default": { "key1": "value1"}}}
properties
- the value to setpublic UpdateAttributeDetails build()
public UpdateAttributeDetails.Builder copy(UpdateAttributeDetails model)
Copyright © 2016–2024. All rights reserved.