Interface ListComponentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> IoTTwinMakerResponse.Builder,SdkBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListComponentsResponse
public static interface ListComponentsResponse.Builder
extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentSummaries(Collection<ComponentSummary> componentSummaries) A list of objects that contain information about the components.componentSummaries(Consumer<ComponentSummary.Builder>... componentSummaries) A list of objects that contain information about the components.componentSummaries(ComponentSummary... componentSummaries) A list of objects that contain information about the components.The string that specifies the next page of component results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.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
-
componentSummaries
A list of objects that contain information about the components.
- Parameters:
componentSummaries- A list of objects that contain information about the components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentSummaries
A list of objects that contain information about the components.
- Parameters:
componentSummaries- A list of objects that contain information about the components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentSummaries
ListComponentsResponse.Builder componentSummaries(Consumer<ComponentSummary.Builder>... componentSummaries) A list of objects that contain information about the components.
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 tocomponentSummaries(List<ComponentSummary>).- Parameters:
componentSummaries- 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
The string that specifies the next page of component results.
- Parameters:
nextToken- The string that specifies the next page of component results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-