public static class ModelReplaceAlgorithmOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String crn,
String recordType,
Map<String,AlgorithmStandardizer> standardizers,
AlgorithmEncryption encryption,
Map<String,AlgorithmEntityType> entityTypes,
String locale)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ModelReplaceAlgorithmOptions.Builder |
algorithm(Algorithm algorithm)
Set the algorithm.
|
ModelReplaceAlgorithmOptions |
build()
Builds a ModelReplaceAlgorithmOptions.
|
ModelReplaceAlgorithmOptions.Builder |
crn(String crn)
Set the crn.
|
ModelReplaceAlgorithmOptions.Builder |
encryption(AlgorithmEncryption encryption)
Set the encryption.
|
ModelReplaceAlgorithmOptions.Builder |
entityTypes(Map<String,AlgorithmEntityType> entityTypes)
Set the entityTypes.
|
ModelReplaceAlgorithmOptions.Builder |
locale(String locale)
Set the locale.
|
ModelReplaceAlgorithmOptions.Builder |
recordType(String recordType)
Set the recordType.
|
ModelReplaceAlgorithmOptions.Builder |
standardizers(Map<String,AlgorithmStandardizer> standardizers)
Set the standardizers.
|
public Builder()
public Builder(String crn, String recordType, Map<String,AlgorithmStandardizer> standardizers, AlgorithmEncryption encryption, Map<String,AlgorithmEntityType> entityTypes, String locale)
crn
- the crnrecordType
- the recordTypestandardizers
- the standardizersencryption
- the encryptionentityTypes
- the entityTypeslocale
- the localepublic ModelReplaceAlgorithmOptions build()
public ModelReplaceAlgorithmOptions.Builder crn(String crn)
crn
- the crnpublic ModelReplaceAlgorithmOptions.Builder recordType(String recordType)
recordType
- the recordTypepublic ModelReplaceAlgorithmOptions.Builder standardizers(Map<String,AlgorithmStandardizer> standardizers)
standardizers
- the standardizerspublic ModelReplaceAlgorithmOptions.Builder encryption(AlgorithmEncryption encryption)
encryption
- the encryptionpublic ModelReplaceAlgorithmOptions.Builder entityTypes(Map<String,AlgorithmEntityType> entityTypes)
entityTypes
- the entityTypespublic ModelReplaceAlgorithmOptions.Builder locale(String locale)
locale
- the localepublic ModelReplaceAlgorithmOptions.Builder algorithm(Algorithm algorithm)
algorithm
- the algorithmCopyright © 2021 IBM Cloud. All rights reserved.