public static class GetDocumentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String collectionId,
String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetDocumentOptions |
build()
Builds a GetDocumentOptions.
|
GetDocumentOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
GetDocumentOptions.Builder |
documentId(String documentId)
Set the documentId.
|
GetDocumentOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public GetDocumentOptions build()
public GetDocumentOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic GetDocumentOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic GetDocumentOptions.Builder documentId(String documentId)
documentId
- the documentIdCopyright © 2022 IBM Cloud. All rights reserved.