CopyableBuilder<ListDocumentVersionsResponse.Builder,ListDocumentVersionsResponse>
, SdkBuilder<ListDocumentVersionsResponse.Builder,ListDocumentVersionsResponse>
public static interface ListDocumentVersionsResponse.Builder extends CopyableBuilder<ListDocumentVersionsResponse.Builder,ListDocumentVersionsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListDocumentVersionsResponse.Builder |
documentVersions(Collection<DocumentVersionInfo> documentVersions) |
The document versions.
|
ListDocumentVersionsResponse.Builder |
documentVersions(DocumentVersionInfo... documentVersions) |
The document versions.
|
ListDocumentVersionsResponse.Builder |
nextToken(String nextToken) |
The token to use when requesting the next set of items.
|
copy
apply, build
ListDocumentVersionsResponse.Builder documentVersions(Collection<DocumentVersionInfo> documentVersions)
The document versions.
documentVersions
- The document versions.ListDocumentVersionsResponse.Builder documentVersions(DocumentVersionInfo... documentVersions)
The document versions.
NOTE: This method appends the values to the existing list (if any). Use
#setDocumentVersions(java.util.Collection)
or #withDocumentVersions(java.util.Collection)
if
you want to override the existing values.
documentVersions
- The document versions.ListDocumentVersionsResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return,
the string is empty.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.