Class ContractSchemaProperty.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractSchemaProperty.Builder
-
- Enclosing class:
- ContractSchemaProperty
public static class ContractSchemaProperty.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractSchemaProperty.BuilderaddAuthoritativeDefinitions(ContractAuthoritativeDefinition authoritativeDefinitions)Adds a new element to authoritativeDefinitions.ContractSchemaProperty.BuilderaddCustomProperties(ContractTemplateCustomProperty customProperties)Adds a new element to customProperties.ContractSchemaProperty.BuilderaddExamples(java.lang.String examples)Adds a new element to examples.ContractSchemaProperty.BuilderaddQuality(ContractQualityRule quality)Adds a new element to quality.ContractSchemaProperty.BuilderaddRelationships(ContractSchemaRelationship relationships)Adds a new element to relationships.ContractSchemaProperty.BuilderaddTags(java.lang.String tags)Adds a new element to tags.ContractSchemaProperty.BuilderaddTransformSourceObjects(java.lang.String transformSourceObjects)Adds a new element to transformSourceObjects.ContractSchemaProperty.BuilderauthoritativeDefinitions(java.util.List<ContractAuthoritativeDefinition> authoritativeDefinitions)Set the authoritativeDefinitions.ContractSchemaPropertybuild()Builds a ContractSchemaProperty.ContractSchemaProperty.BuilderbusinessName(java.lang.String businessName)Set the businessName.ContractSchemaProperty.Builderclassification(java.lang.String classification)Set the classification.ContractSchemaProperty.BuildercriticalDataElement(java.lang.Boolean criticalDataElement)Set the criticalDataElement.ContractSchemaProperty.BuildercustomProperties(java.util.List<ContractTemplateCustomProperty> customProperties)Set the customProperties.ContractSchemaProperty.Builderdescription(java.lang.String description)Set the description.ContractSchemaProperty.BuilderencryptedName(java.lang.String encryptedName)Set the encryptedName.ContractSchemaProperty.Builderexamples(java.util.List<java.lang.String> examples)Set the examples.ContractSchemaProperty.Builderid(java.lang.String id)Set the id.ContractSchemaProperty.BuilderlogicalType(java.lang.String logicalType)Set the logicalType.ContractSchemaProperty.BuilderlogicalTypeOptions(ContractLogicalTypeOptions logicalTypeOptions)Set the logicalTypeOptions.ContractSchemaProperty.Buildername(java.lang.String name)Set the name.ContractSchemaProperty.Builderpartitioned(java.lang.Boolean partitioned)Set the partitioned.ContractSchemaProperty.BuilderpartitionKeyPosition(long partitionKeyPosition)Set the partitionKeyPosition.ContractSchemaProperty.BuilderphysicalName(java.lang.String physicalName)Set the physicalName.ContractSchemaProperty.BuilderphysicalType(java.lang.String physicalType)Set the physicalType.ContractSchemaProperty.BuilderprimaryKey(java.lang.Boolean primaryKey)Set the primaryKey.ContractSchemaProperty.BuilderprimaryKeyPosition(long primaryKeyPosition)Set the primaryKeyPosition.ContractSchemaProperty.Builderquality(java.util.List<ContractQualityRule> quality)Set the quality.ContractSchemaProperty.Builderrelationships(java.util.List<ContractSchemaRelationship> relationships)Set the relationships.ContractSchemaProperty.Builderrequired(java.lang.Boolean required)Set the required.ContractSchemaProperty.Buildertags(java.util.List<java.lang.String> tags)Set the tags.ContractSchemaProperty.BuildertransformDescription(java.lang.String transformDescription)Set the transformDescription.ContractSchemaProperty.BuildertransformLogic(java.lang.String transformLogic)Set the transformLogic.ContractSchemaProperty.BuildertransformSourceObjects(java.util.List<java.lang.String> transformSourceObjects)Set the transformSourceObjects.ContractSchemaProperty.Builderunique(java.lang.Boolean unique)Set the unique.
-
-
-
Method Detail
-
build
public ContractSchemaProperty build()
Builds a ContractSchemaProperty.- Returns:
- the new ContractSchemaProperty instance
-
addTags
public ContractSchemaProperty.Builder addTags(java.lang.String tags)
Adds a new element to tags.- Parameters:
tags- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addExamples
public ContractSchemaProperty.Builder addExamples(java.lang.String examples)
Adds a new element to examples.- Parameters:
examples- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addQuality
public ContractSchemaProperty.Builder addQuality(ContractQualityRule quality)
Adds a new element to quality.- Parameters:
quality- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addTransformSourceObjects
public ContractSchemaProperty.Builder addTransformSourceObjects(java.lang.String transformSourceObjects)
Adds a new element to transformSourceObjects.- Parameters:
transformSourceObjects- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addAuthoritativeDefinitions
public ContractSchemaProperty.Builder addAuthoritativeDefinitions(ContractAuthoritativeDefinition authoritativeDefinitions)
Adds a new element to authoritativeDefinitions.- Parameters:
authoritativeDefinitions- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addCustomProperties
public ContractSchemaProperty.Builder addCustomProperties(ContractTemplateCustomProperty customProperties)
Adds a new element to customProperties.- Parameters:
customProperties- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
addRelationships
public ContractSchemaProperty.Builder addRelationships(ContractSchemaRelationship relationships)
Adds a new element to relationships.- Parameters:
relationships- the new element to be added- Returns:
- the ContractSchemaProperty builder
-
id
public ContractSchemaProperty.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the ContractSchemaProperty builder
-
name
public ContractSchemaProperty.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the ContractSchemaProperty builder
-
primaryKey
public ContractSchemaProperty.Builder primaryKey(java.lang.Boolean primaryKey)
Set the primaryKey.- Parameters:
primaryKey- the primaryKey- Returns:
- the ContractSchemaProperty builder
-
primaryKeyPosition
public ContractSchemaProperty.Builder primaryKeyPosition(long primaryKeyPosition)
Set the primaryKeyPosition.- Parameters:
primaryKeyPosition- the primaryKeyPosition- Returns:
- the ContractSchemaProperty builder
-
logicalType
public ContractSchemaProperty.Builder logicalType(java.lang.String logicalType)
Set the logicalType.- Parameters:
logicalType- the logicalType- Returns:
- the ContractSchemaProperty builder
-
logicalTypeOptions
public ContractSchemaProperty.Builder logicalTypeOptions(ContractLogicalTypeOptions logicalTypeOptions)
Set the logicalTypeOptions.- Parameters:
logicalTypeOptions- the logicalTypeOptions- Returns:
- the ContractSchemaProperty builder
-
physicalType
public ContractSchemaProperty.Builder physicalType(java.lang.String physicalType)
Set the physicalType.- Parameters:
physicalType- the physicalType- Returns:
- the ContractSchemaProperty builder
-
required
public ContractSchemaProperty.Builder required(java.lang.Boolean required)
Set the required.- Parameters:
required- the required- Returns:
- the ContractSchemaProperty builder
-
unique
public ContractSchemaProperty.Builder unique(java.lang.Boolean unique)
Set the unique.- Parameters:
unique- the unique- Returns:
- the ContractSchemaProperty builder
-
description
public ContractSchemaProperty.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the ContractSchemaProperty builder
-
businessName
public ContractSchemaProperty.Builder businessName(java.lang.String businessName)
Set the businessName.- Parameters:
businessName- the businessName- Returns:
- the ContractSchemaProperty builder
-
tags
public ContractSchemaProperty.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags- the tags- Returns:
- the ContractSchemaProperty builder
-
examples
public ContractSchemaProperty.Builder examples(java.util.List<java.lang.String> examples)
Set the examples. Existing examples will be replaced.- Parameters:
examples- the examples- Returns:
- the ContractSchemaProperty builder
-
partitioned
public ContractSchemaProperty.Builder partitioned(java.lang.Boolean partitioned)
Set the partitioned.- Parameters:
partitioned- the partitioned- Returns:
- the ContractSchemaProperty builder
-
partitionKeyPosition
public ContractSchemaProperty.Builder partitionKeyPosition(long partitionKeyPosition)
Set the partitionKeyPosition.- Parameters:
partitionKeyPosition- the partitionKeyPosition- Returns:
- the ContractSchemaProperty builder
-
classification
public ContractSchemaProperty.Builder classification(java.lang.String classification)
Set the classification.- Parameters:
classification- the classification- Returns:
- the ContractSchemaProperty builder
-
quality
public ContractSchemaProperty.Builder quality(java.util.List<ContractQualityRule> quality)
Set the quality. Existing quality will be replaced.- Parameters:
quality- the quality- Returns:
- the ContractSchemaProperty builder
-
physicalName
public ContractSchemaProperty.Builder physicalName(java.lang.String physicalName)
Set the physicalName.- Parameters:
physicalName- the physicalName- Returns:
- the ContractSchemaProperty builder
-
encryptedName
public ContractSchemaProperty.Builder encryptedName(java.lang.String encryptedName)
Set the encryptedName.- Parameters:
encryptedName- the encryptedName- Returns:
- the ContractSchemaProperty builder
-
transformSourceObjects
public ContractSchemaProperty.Builder transformSourceObjects(java.util.List<java.lang.String> transformSourceObjects)
Set the transformSourceObjects. Existing transformSourceObjects will be replaced.- Parameters:
transformSourceObjects- the transformSourceObjects- Returns:
- the ContractSchemaProperty builder
-
transformLogic
public ContractSchemaProperty.Builder transformLogic(java.lang.String transformLogic)
Set the transformLogic.- Parameters:
transformLogic- the transformLogic- Returns:
- the ContractSchemaProperty builder
-
transformDescription
public ContractSchemaProperty.Builder transformDescription(java.lang.String transformDescription)
Set the transformDescription.- Parameters:
transformDescription- the transformDescription- Returns:
- the ContractSchemaProperty builder
-
criticalDataElement
public ContractSchemaProperty.Builder criticalDataElement(java.lang.Boolean criticalDataElement)
Set the criticalDataElement.- Parameters:
criticalDataElement- the criticalDataElement- Returns:
- the ContractSchemaProperty builder
-
authoritativeDefinitions
public ContractSchemaProperty.Builder authoritativeDefinitions(java.util.List<ContractAuthoritativeDefinition> authoritativeDefinitions)
Set the authoritativeDefinitions. Existing authoritativeDefinitions will be replaced.- Parameters:
authoritativeDefinitions- the authoritativeDefinitions- Returns:
- the ContractSchemaProperty builder
-
customProperties
public ContractSchemaProperty.Builder customProperties(java.util.List<ContractTemplateCustomProperty> customProperties)
Set the customProperties. Existing customProperties will be replaced.- Parameters:
customProperties- the customProperties- Returns:
- the ContractSchemaProperty builder
-
relationships
public ContractSchemaProperty.Builder relationships(java.util.List<ContractSchemaRelationship> relationships)
Set the relationships. Existing relationships will be replaced.- Parameters:
relationships- the relationships- Returns:
- the ContractSchemaProperty builder
-
-