public static interface ListArchivesResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListArchivesResponse.Builder,ListArchivesResponse>
Modifier and Type | Method and Description |
---|---|
ListArchivesResponse.Builder |
archives(Archive... archives)
An array of
Archive objects that include details about an archive. |
ListArchivesResponse.Builder |
archives(Collection<Archive> archives)
An array of
Archive objects that include details about an archive. |
ListArchivesResponse.Builder |
archives(Consumer<Archive.Builder>... archives)
An array of
Archive objects that include details about an archive. |
ListArchivesResponse.Builder |
nextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListArchivesResponse.Builder archives(Collection<Archive> archives)
An array of Archive
objects that include details about an archive.
archives
- An array of Archive
objects that include details about an archive.ListArchivesResponse.Builder archives(Archive... archives)
An array of Archive
objects that include details about an archive.
archives
- An array of Archive
objects that include details about an archive.ListArchivesResponse.Builder archives(Consumer<Archive.Builder>... archives)
An array of Archive
objects that include details about an archive.
List.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 #archives(List)
.archives
- a consumer that will call methods on List.Builder
#archives(List)
ListArchivesResponse.Builder nextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.Copyright © 2022. All rights reserved.