Interface DescribeImportTasksResponse.Builder
- All Superinterfaces:
- ApplicationDiscoveryResponse.Builder,- AwsResponse.Builder,- Buildable,- CopyableBuilder<DescribeImportTasksResponse.Builder,,- DescribeImportTasksResponse> - SdkBuilder<DescribeImportTasksResponse.Builder,,- DescribeImportTasksResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- DescribeImportTasksResponse
@Mutable
@NotThreadSafe
public static interface DescribeImportTasksResponse.Builder
extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<DescribeImportTasksResponse.Builder,DescribeImportTasksResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe token to request the next page of results.tasks(Collection<ImportTask> tasks) A returned array of import tasks that match any applied filters, up to the specified number of maximum results.tasks(Consumer<ImportTask.Builder>... tasks) A returned array of import tasks that match any applied filters, up to the specified number of maximum results.tasks(ImportTask... tasks) A returned array of import tasks that match any applied filters, up to the specified number of maximum results.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenThe token to request the next page of results. - Parameters:
- nextToken- The token to request the next page of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tasksA returned array of import tasks that match any applied filters, up to the specified number of maximum results. - Parameters:
- tasks- A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tasksA returned array of import tasks that match any applied filters, up to the specified number of maximum results. - Parameters:
- tasks- A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tasksA returned array of import tasks that match any applied filters, up to the specified number of maximum results. This is a convenience method that creates an instance of theImportTask.Builderavoiding the need to create one manually viaImportTask.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totasks(List<ImportTask>).- Parameters:
- tasks- a consumer that will call methods on- ImportTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-