public static interface ListDocumentVersionsResponse.Builder extends SsmResponse.Builder, CopyableBuilder<ListDocumentVersionsResponse.Builder,ListDocumentVersionsResponse>
Modifier and Type | Method and Description |
---|---|
ListDocumentVersionsResponse.Builder |
documentVersions(Collection<DocumentVersionInfo> documentVersions)
The document versions.
|
ListDocumentVersionsResponse.Builder |
documentVersions(Consumer<DocumentVersionInfo.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDocumentVersionsResponse.Builder documentVersions(Collection<DocumentVersionInfo> documentVersions)
The document versions.
documentVersions
- The document versions.ListDocumentVersionsResponse.Builder documentVersions(DocumentVersionInfo... documentVersions)
The document versions.
documentVersions
- The document versions.ListDocumentVersionsResponse.Builder documentVersions(Consumer<DocumentVersionInfo.Builder>... documentVersions)
The document versions.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #documentVersions(List)
.documentVersions
- a consumer that will call methods on List.Builder
#documentVersions(List)
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.