Interface ListCollectorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCollectorsResponse.Builder,ListCollectorsResponse>,MigrationHubStrategyResponse.Builder,SdkBuilder<ListCollectorsResponse.Builder,ListCollectorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCollectorsResponse
public static interface ListCollectorsResponse.Builder extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<ListCollectorsResponse.Builder,ListCollectorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCollectorsResponse.Buildercollectors(Collection<Collector> collectors)The list of all the installed collectors.ListCollectorsResponse.Buildercollectors(Consumer<Collector.Builder>... collectors)The list of all the installed collectors.ListCollectorsResponse.Buildercollectors(Collector... collectors)The list of all the installed collectors.ListCollectorsResponse.BuildernextToken(String nextToken)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 Detail
-
collectors
ListCollectorsResponse.Builder collectors(Collection<Collector> 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
ListCollectorsResponse.Builder collectors(Collector... 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
ListCollectorsResponse.Builder collectors(Consumer<Collector.Builder>... collectors)
The list of all the installed collectors.
This is a convenience method that creates an instance of theCollector.Builderavoiding the need to create one manually viaCollector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#collectors(List.) - 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:
#collectors(java.util.Collection)
-
nextToken
ListCollectorsResponse.Builder nextToken(String 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.
-
-