public static interface ListSinksResponse.Builder extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListSinksResponse.Builder,ListSinksResponse>
| Modifier and Type | Method and Description |
|---|---|
ListSinksResponse.Builder |
items(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
|
ListSinksResponse.Builder |
items(Consumer<ListSinksItem.Builder>... items)
An array of structures that contain the information about the returned sinks.
|
ListSinksResponse.Builder |
items(ListSinksItem... items)
An array of structures that contain the information about the returned sinks.
|
ListSinksResponse.Builder |
nextToken(String nextToken)
The token to use when requesting the next set of sinks.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSinksResponse.Builder items(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
items - An array of structures that contain the information about the returned sinks.ListSinksResponse.Builder items(ListSinksItem... items)
An array of structures that contain the information about the returned sinks.
items - An array of structures that contain the information about the returned sinks.ListSinksResponse.Builder items(Consumer<ListSinksItem.Builder>... items)
An array of structures that contain the information about the returned sinks.
This is a convenience method that creates an instance of theListSinksItem.Builder avoiding the need to create one
manually via ListSinksItem.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #items(List.
items - a consumer that will call methods on
ListSinksItem.Builder#items(java.util.Collection) ListSinksResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of sinks.
nextToken - The token to use when requesting the next set of sinks.Copyright © 2023. All rights reserved.