public static class GetCorpusOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
GetCorpusOptions.Builder()
Instantiates a new builder.
|
GetCorpusOptions.Builder(java.lang.String customizationId,
java.lang.String corpusName)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetCorpusOptions |
build()
Builds a GetCorpusOptions.
|
GetCorpusOptions.Builder |
corpusName(java.lang.String corpusName)
Set the corpusName.
|
GetCorpusOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
public GetCorpusOptions.Builder()
public GetCorpusOptions.Builder(java.lang.String customizationId, java.lang.String corpusName)
customizationId
- the customizationIdcorpusName
- the corpusNamepublic GetCorpusOptions build()
public GetCorpusOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic GetCorpusOptions.Builder corpusName(java.lang.String corpusName)
corpusName
- the corpusName