Interface ListImportFileTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListImportFileTaskResponse.Builder,
,ListImportFileTaskResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<ListImportFileTaskResponse.Builder,
,ListImportFileTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListImportFileTaskResponse
@Mutable
@NotThreadSafe
public static interface ListImportFileTaskResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<ListImportFileTaskResponse.Builder,ListImportFileTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token you use to retrieve the next set of results, or null if there are no more results.taskInfos
(Collection<ImportFileTaskInformation> taskInfos) Lists information about the files you import.taskInfos
(Consumer<ImportFileTaskInformation.Builder>... taskInfos) Lists information about the files you import.taskInfos
(ImportFileTaskInformation... taskInfos) Lists information about the files you import.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
-
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.
-
taskInfos
Lists information about the files you import.
- Parameters:
taskInfos
- Lists information about the files you import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInfos
Lists information about the files you import.
- Parameters:
taskInfos
- Lists information about the files you import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInfos
ListImportFileTaskResponse.Builder taskInfos(Consumer<ImportFileTaskInformation.Builder>... taskInfos) Lists information about the files you import.
This is a convenience method that creates an instance of theImportFileTaskInformation.Builder
avoiding the need to create one manually viaImportFileTaskInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskInfos(List<ImportFileTaskInformation>)
.- Parameters:
taskInfos
- a consumer that will call methods onImportFileTaskInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-