Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(Map<String,DataModelAttributeType> attributeTypes,
Map<String,DataModelRelationshipType> relationshipTypes,
Map<String,DataModelRecordType> recordTypes,
String locale,
DataModelSystemProperties systemProperties)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DataModel.Builder |
attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
Set the attributeTypes.
|
DataModel |
build()
Builds a DataModel.
|
DataModel.Builder |
locale(String locale)
Set the locale.
|
DataModel.Builder |
recordTypes(Map<String,DataModelRecordType> recordTypes)
Set the recordTypes.
|
DataModel.Builder |
relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
Set the relationshipTypes.
|
DataModel.Builder |
systemProperties(DataModelSystemProperties systemProperties)
Set the systemProperties.
|
public Builder()
public Builder(Map<String,DataModelAttributeType> attributeTypes, Map<String,DataModelRelationshipType> relationshipTypes, Map<String,DataModelRecordType> recordTypes, String locale, DataModelSystemProperties systemProperties)
attributeTypes
- the attributeTypesrelationshipTypes
- the relationshipTypesrecordTypes
- the recordTypeslocale
- the localesystemProperties
- the systemPropertiespublic DataModel build()
public DataModel.Builder attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
attributeTypes
- the attributeTypespublic DataModel.Builder relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
relationshipTypes
- the relationshipTypespublic DataModel.Builder recordTypes(Map<String,DataModelRecordType> recordTypes)
recordTypes
- the recordTypespublic DataModel.Builder locale(String locale)
locale
- the localepublic DataModel.Builder systemProperties(DataModelSystemProperties systemProperties)
systemProperties
- the systemPropertiesCopyright © 2021 IBM Cloud. All rights reserved.