public static class CreateEnrichmentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
CreateEnrichment enrichment)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEnrichmentOptions |
build()
Builds a CreateEnrichmentOptions.
|
CreateEnrichmentOptions.Builder |
enrichment(CreateEnrichment enrichment)
Set the enrichment.
|
CreateEnrichmentOptions.Builder |
file(File file)
Set the file.
|
CreateEnrichmentOptions.Builder |
file(InputStream file)
Set the file.
|
CreateEnrichmentOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public Builder()
public Builder(String projectId, CreateEnrichment enrichment)
projectId
- the projectIdenrichment
- the enrichmentpublic CreateEnrichmentOptions build()
public CreateEnrichmentOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic CreateEnrichmentOptions.Builder enrichment(CreateEnrichment enrichment)
enrichment
- the enrichmentpublic CreateEnrichmentOptions.Builder file(InputStream file)
file
- the filepublic CreateEnrichmentOptions.Builder file(File file) throws FileNotFoundException
file
- the fileFileNotFoundException
- if the file could not be foundCopyright © 2023 IBM Cloud. All rights reserved.