public static class CreateEnrichmentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateEnrichmentOptions.Builder()
Instantiates a new builder.
|
CreateEnrichmentOptions.Builder(java.lang.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(java.io.File file)
Set the file.
|
CreateEnrichmentOptions.Builder |
file(java.io.InputStream file)
Set the file.
|
CreateEnrichmentOptions.Builder |
projectId(java.lang.String projectId)
Set the projectId.
|
public CreateEnrichmentOptions.Builder()
public CreateEnrichmentOptions.Builder(java.lang.String projectId, CreateEnrichment enrichment)
projectId
- the projectIdenrichment
- the enrichmentpublic CreateEnrichmentOptions build()
public CreateEnrichmentOptions.Builder projectId(java.lang.String projectId)
projectId
- the projectIdpublic CreateEnrichmentOptions.Builder enrichment(CreateEnrichment enrichment)
enrichment
- the enrichmentpublic CreateEnrichmentOptions.Builder file(java.io.InputStream file)
file
- the filepublic CreateEnrichmentOptions.Builder file(java.io.File file) throws java.io.FileNotFoundException
file
- the filejava.io.FileNotFoundException
- if the file could not be found