public static class DataModelRelationshipEndpoint.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DataModelRelationshipEndpoint.Builder |
addEntityTypes(String entityTypes)
Adds an entityTypes to entityTypes.
|
DataModelRelationshipEndpoint.Builder |
addRecordTypes(String recordTypes)
Adds an recordTypes to recordTypes.
|
DataModelRelationshipEndpoint |
build()
Builds a DataModelRelationshipEndpoint.
|
DataModelRelationshipEndpoint.Builder |
entityTypes(List<String> entityTypes)
Set the entityTypes.
|
DataModelRelationshipEndpoint.Builder |
recordTypes(List<String> recordTypes)
Set the recordTypes.
|
public DataModelRelationshipEndpoint build()
public DataModelRelationshipEndpoint.Builder addEntityTypes(String entityTypes)
entityTypes
- the new entityTypespublic DataModelRelationshipEndpoint.Builder addRecordTypes(String recordTypes)
recordTypes
- the new recordTypespublic DataModelRelationshipEndpoint.Builder entityTypes(List<String> entityTypes)
entityTypes
- the entityTypespublic DataModelRelationshipEndpoint.Builder recordTypes(List<String> recordTypes)
recordTypes
- the recordTypesCopyright © 2021 IBM Cloud. All rights reserved.