public static interface ListComponentsResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListComponentsResponse.Builder |
components(Collection<ComponentSummary> components)
An array of components with summary data.
|
ListComponentsResponse.Builder |
components(ComponentSummary... components)
An array of components with summary data.
|
ListComponentsResponse.Builder |
components(Consumer<ComponentSummary.Builder>... components)
An array of components with summary data.
|
ListComponentsResponse.Builder |
nextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current
requested list of components.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListComponentsResponse.Builder components(Collection<ComponentSummary> components)
An array of components with summary data.
components - An array of components with summary data.ListComponentsResponse.Builder components(ComponentSummary... components)
An array of components with summary data.
components - An array of components with summary data.ListComponentsResponse.Builder components(Consumer<ComponentSummary.Builder>... components)
An array of components with summary data.
This is a convenience method that creates an instance of theComponentSummary.Builder avoiding the need to create one
manually via ComponentSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #components(List.
components - a consumer that will call methods on
ComponentSummary.Builder#components(java.util.Collection) ListComponentsResponse.Builder nextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current requested list of components.
nextToken - A token that indicates the location of the next component in the array of components, after the
current requested list of components.Copyright © 2023. All rights reserved.