Interface ListComponentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> ProtonResponse.Builder,SdkBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListComponentsResponse
public static interface ListComponentsResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomponents(Collection<ComponentSummary> components) An array of components with summary data.components(Consumer<ComponentSummary.Builder>... components) An array of components with summary data.components(ComponentSummary... components) An array of components with summary data.A token that indicates the location of the next component in the array of components, after the current requested list of components.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
components
An array of components with summary data.
- Parameters:
components- An array of components with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
An array of components with summary data.
- Parameters:
components- An array of components with summary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
An array of components with summary data.
This is a convenience method that creates an instance of theComponentSummary.Builderavoiding the need to create one manually viaComponentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponents(List<ComponentSummary>).- Parameters:
components- a consumer that will call methods onComponentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates the location of the next component in the array of components, after the current requested list of components.
- Parameters:
nextToken- A token that indicates the location of the next component in the array of components, after the current requested list of components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-