public static class ListDocumentsOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ListDocumentsOptions |
build()
Builds a ListDocumentsOptions.
|
ListDocumentsOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
ListDocumentsOptions.Builder |
count(long count)
Set the count.
|
ListDocumentsOptions.Builder |
hasNotices(Boolean hasNotices)
Set the hasNotices.
|
ListDocumentsOptions.Builder |
isParent(Boolean isParent)
Set the isParent.
|
ListDocumentsOptions.Builder |
parentDocumentId(String parentDocumentId)
Set the parentDocumentId.
|
ListDocumentsOptions.Builder |
projectId(String projectId)
Set the projectId.
|
ListDocumentsOptions.Builder |
sha256(String sha256)
Set the sha256.
|
ListDocumentsOptions.Builder |
status(String status)
Set the status.
|
public ListDocumentsOptions build()
public ListDocumentsOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic ListDocumentsOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic ListDocumentsOptions.Builder count(long count)
count
- the countpublic ListDocumentsOptions.Builder status(String status)
status
- the statuspublic ListDocumentsOptions.Builder hasNotices(Boolean hasNotices)
hasNotices
- the hasNoticespublic ListDocumentsOptions.Builder isParent(Boolean isParent)
isParent
- the isParentpublic ListDocumentsOptions.Builder parentDocumentId(String parentDocumentId)
parentDocumentId
- the parentDocumentIdpublic ListDocumentsOptions.Builder sha256(String sha256)
sha256
- the sha256Copyright © 2024 IBM Cloud. All rights reserved.