public static class ModelPatchDataModelOptions.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 |
---|---|
ModelPatchDataModelOptions.Builder |
attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
Set the attributeTypes.
|
ModelPatchDataModelOptions |
build()
Builds a ModelPatchDataModelOptions.
|
ModelPatchDataModelOptions.Builder |
crn(String crn)
Set the crn.
|
ModelPatchDataModelOptions.Builder |
dataModel(DataModel dataModel)
Set the dataModel.
|
ModelPatchDataModelOptions.Builder |
locale(String locale)
Set the locale.
|
ModelPatchDataModelOptions.Builder |
recordTypes(Map<String,DataModelRecordType> recordTypes)
Set the recordTypes.
|
ModelPatchDataModelOptions.Builder |
relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
Set the relationshipTypes.
|
ModelPatchDataModelOptions.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 ModelPatchDataModelOptions build()
public ModelPatchDataModelOptions.Builder crn(String crn)
crn
- the crnpublic ModelPatchDataModelOptions.Builder attributeTypes(Map<String,DataModelAttributeType> attributeTypes)
attributeTypes
- the attributeTypespublic ModelPatchDataModelOptions.Builder relationshipTypes(Map<String,DataModelRelationshipType> relationshipTypes)
relationshipTypes
- the relationshipTypespublic ModelPatchDataModelOptions.Builder recordTypes(Map<String,DataModelRecordType> recordTypes)
recordTypes
- the recordTypespublic ModelPatchDataModelOptions.Builder locale(String locale)
locale
- the localepublic ModelPatchDataModelOptions.Builder systemProperties(DataModelSystemProperties systemProperties)
systemProperties
- the systemPropertiespublic ModelPatchDataModelOptions.Builder dataModel(DataModel dataModel)
dataModel
- the dataModelCopyright © 2021 IBM Cloud. All rights reserved.