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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListComponentsResponse.BuildercomponentSummaries(Collection<ComponentSummary> componentSummaries)A list of objects that contain information about the components.ListComponentsResponse.BuildercomponentSummaries(Consumer<ComponentSummary.Builder>... componentSummaries)A list of objects that contain information about the components.ListComponentsResponse.BuildercomponentSummaries(ComponentSummary... componentSummaries)A list of objects that contain information about the components.ListComponentsResponse.BuildernextToken(String nextToken)The string that specifies the next page of component results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.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
-
componentSummaries
ListComponentsResponse.Builder componentSummaries(Collection<ComponentSummary> 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(ComponentSummary... 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 to#componentSummaries(List.) - 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:
#componentSummaries(java.util.Collection)
-
nextToken
ListComponentsResponse.Builder nextToken(String 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.
-
-