public static class ModelModifyDataModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String crn,
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 |
---|---|
ModelModifyDataModelOptions.Builder |
attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
Set the attributeTypes.
|
ModelModifyDataModelOptions |
build()
Builds a ModelModifyDataModelOptions.
|
ModelModifyDataModelOptions.Builder |
crn(String crn)
Set the crn.
|
ModelModifyDataModelOptions.Builder |
dataModel(DataModel dataModel)
Set the dataModel.
|
ModelModifyDataModelOptions.Builder |
locale(String locale)
Set the locale.
|
ModelModifyDataModelOptions.Builder |
recordTypes(Map<String,DataModelRecordType> recordTypes)
Set the recordTypes.
|
ModelModifyDataModelOptions.Builder |
relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
Set the relationshipTypes.
|
ModelModifyDataModelOptions.Builder |
systemProperties(DataModelSystemProperties systemProperties)
Set the systemProperties.
|
public Builder()
public Builder(String crn, Map<String,DataModelAttributeType> attributeTypes, Map<String,DataModelRelationshipType> relationshipTypes, Map<String,DataModelRecordType> recordTypes, String locale, DataModelSystemProperties systemProperties)
crn
- the crnattributeTypes
- the attributeTypesrelationshipTypes
- the relationshipTypesrecordTypes
- the recordTypeslocale
- the localesystemProperties
- the systemPropertiespublic ModelModifyDataModelOptions build()
public ModelModifyDataModelOptions.Builder crn(String crn)
crn
- the crnpublic ModelModifyDataModelOptions.Builder attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
attributeTypes
- the attributeTypespublic ModelModifyDataModelOptions.Builder relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
relationshipTypes
- the relationshipTypespublic ModelModifyDataModelOptions.Builder recordTypes(Map<String,DataModelRecordType> recordTypes)
recordTypes
- the recordTypespublic ModelModifyDataModelOptions.Builder locale(String locale)
locale
- the localepublic ModelModifyDataModelOptions.Builder systemProperties(DataModelSystemProperties systemProperties)
systemProperties
- the systemPropertiespublic ModelModifyDataModelOptions.Builder dataModel(DataModel dataModel)
dataModel
- the dataModelCopyright © 2021 IBM Cloud. All rights reserved.