Interface DescribeImportTasksResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeImportTasksResponse.Builder,,DescribeImportTasksResponse> SdkBuilder<DescribeImportTasksResponse.Builder,,DescribeImportTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeImportTasksResponse
public static interface DescribeImportTasksResponse.Builder
extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<DescribeImportTasksResponse.Builder,DescribeImportTasksResponse>
-
Method Summary
Modifier 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.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The 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.
-
tasks
A 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.
-
tasks
A 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.
-
tasks
A 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 onImportTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-