Interface StartImportTaskResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<StartImportTaskResponse.Builder,
,StartImportTaskResponse> SdkBuilder<StartImportTaskResponse.Builder,
,StartImportTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartImportTaskResponse
public static interface StartImportTaskResponse.Builder
extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<StartImportTaskResponse.Builder,StartImportTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartImportTaskResponse.Builder
task
(Consumer<ImportTask.Builder> task) An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.task
(ImportTask task) An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
task
An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
- Parameters:
task
- An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
This is a convenience method that creates an instance of theImportTask.Builder
avoiding the need to create one manually viaImportTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totask(ImportTask)
.- Parameters:
task
- a consumer that will call methods onImportTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-