Interface ListComponentsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> GreengrassV2Response.Builder,SdkBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListComponentsResponse
public static interface ListComponentsResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioncomponents(Collection<Component> components) A list that summarizes each component.components(Consumer<Component.Builder>... components) A list that summarizes each component.components(Component... components) A list that summarizes each component.The token for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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
A list that summarizes each component.
- Parameters:
 components- A list that summarizes each component.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
components
A list that summarizes each component.
- Parameters:
 components- A list that summarizes each component.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
components
A list that summarizes each component.
This is a convenience method that creates an instance of theComponent.Builderavoiding the need to create one manually viaComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponents(List<Component>).- Parameters:
 components- a consumer that will call methods onComponent.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
 nextToken- The token for the next set of results, or null if there are no additional results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -