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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListComponentsResponse.Buildercomponents(Collection<ComponentSummary> components)An array of components with summary data.ListComponentsResponse.Buildercomponents(Consumer<ComponentSummary.Builder>... components)An array of components with summary data.ListComponentsResponse.Buildercomponents(ComponentSummary... components)An array of components with summary data.ListComponentsResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
components
ListComponentsResponse.Builder components(Collection<ComponentSummary> 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
ListComponentsResponse.Builder components(ComponentSummary... 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
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.Builderavoiding the need to create one manually viaComponentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#components(List.) - 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:
#components(java.util.Collection)
-
nextToken
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.
- 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.
-
-