public static interface ListDocumentVersionsResponse.Builder extends SsmResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDocumentVersionsResponse.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 method that creates an instance of theDocumentVersionInfo.Builder avoiding the need to create one
manually via DocumentVersionInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #documentVersions(List.
documentVersions - a consumer that will call methods on
DocumentVersionInfo.Builder#documentVersions(java.util.Collection) 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 © 2023. All rights reserved.