public static class ModelUpdateAlgorithmOptions.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 |
---|---|
ModelUpdateAlgorithmOptions.Builder |
algorithm(Algorithm algorithm)
Set the algorithm.
|
ModelUpdateAlgorithmOptions |
build()
Builds a ModelUpdateAlgorithmOptions.
|
ModelUpdateAlgorithmOptions.Builder |
crn(String crn)
Set the crn.
|
ModelUpdateAlgorithmOptions.Builder |
encryption(AlgorithmEncryption encryption)
Set the encryption.
|
ModelUpdateAlgorithmOptions.Builder |
entityTypes(Map<String,AlgorithmEntityType> entityTypes)
Set the entityTypes.
|
ModelUpdateAlgorithmOptions.Builder |
locale(String locale)
Set the locale.
|
ModelUpdateAlgorithmOptions.Builder |
recordType(String recordType)
Set the recordType.
|
ModelUpdateAlgorithmOptions.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 ModelUpdateAlgorithmOptions build()
public ModelUpdateAlgorithmOptions.Builder crn(String crn)
crn
- the crnpublic ModelUpdateAlgorithmOptions.Builder recordType(String recordType)
recordType
- the recordTypepublic ModelUpdateAlgorithmOptions.Builder standardizers(Map<String,AlgorithmStandardizer> standardizers)
standardizers
- the standardizerspublic ModelUpdateAlgorithmOptions.Builder encryption(AlgorithmEncryption encryption)
encryption
- the encryptionpublic ModelUpdateAlgorithmOptions.Builder entityTypes(Map<String,AlgorithmEntityType> entityTypes)
entityTypes
- the entityTypespublic ModelUpdateAlgorithmOptions.Builder locale(String locale)
locale
- the localepublic ModelUpdateAlgorithmOptions.Builder algorithm(Algorithm algorithm)
algorithm
- the algorithmCopyright © 2021 IBM Cloud. All rights reserved.