Interface DescribeImportTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<DescribeImportTasksResponse.Builder,,DescribeImportTasksResponse> SdkBuilder<DescribeImportTasksResponse.Builder,,DescribeImportTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeImportTasksResponse
@Mutable
@NotThreadSafe
public static interface DescribeImportTasksResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeImportTasksResponse.Builder,DescribeImportTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimports(Collection<Import> imports) The list of import tasks that match the request filters.imports(Consumer<Import.Builder>... imports) The list of import tasks that match the request filters.The list of import tasks that match the request filters.The token to use when requesting the next set of results.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
imports
The list of import tasks that match the request filters.
- Parameters:
imports- The list of import tasks that match the request filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imports
The list of import tasks that match the request filters.
- Parameters:
imports- The list of import tasks that match the request filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imports
The list of import tasks that match the request filters.
This is a convenience method that creates an instance of theImport.Builderavoiding the need to create one manually viaImport.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimports(List<Import>).- Parameters:
imports- a consumer that will call methods onImport.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of results. Not present if there are no additional results to retrieve.
- Parameters:
nextToken- The token to use when requesting the next set of results. Not present if there are no additional results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-