Interface ListCollectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCollectorsResponse.Builder,
,ListCollectorsResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<ListCollectorsResponse.Builder,
,ListCollectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCollectorsResponse
@Mutable
@NotThreadSafe
public static interface ListCollectorsResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<ListCollectorsResponse.Builder,ListCollectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollectors
(Collection<Collector> collectors) The list of all the installed collectors.collectors
(Consumer<Collector.Builder>... collectors) The list of all the installed collectors.collectors
(Collector... collectors) The list of all the installed collectors.The token you use to retrieve the next set of results, or null if there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
collectors
The list of all the installed collectors.
- Parameters:
collectors
- The list of all the installed collectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectors
The list of all the installed collectors.
- Parameters:
collectors
- The list of all the installed collectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectors
The list of all the installed collectors.
This is a convenience method that creates an instance of theCollector.Builder
avoiding the need to create one manually viaCollector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectors(List<Collector>)
.- Parameters:
collectors
- a consumer that will call methods onCollector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token you use to retrieve the next set of results, or null if there are no more results.
- Parameters:
nextToken
- The token you use to retrieve the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-