Interface DescribeImportTaskBatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<DescribeImportTaskBatchesResponse.Builder,,DescribeImportTaskBatchesResponse> SdkBuilder<DescribeImportTaskBatchesResponse.Builder,,DescribeImportTaskBatchesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeImportTaskBatchesResponse
@Mutable
@NotThreadSafe
public static interface DescribeImportTaskBatchesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeImportTaskBatchesResponse.Builder,DescribeImportTaskBatchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimportBatches(Collection<ImportBatch> importBatches) The list of import batches that match the request filters.importBatches(Consumer<ImportBatch.Builder>... importBatches) The list of import batches that match the request filters.importBatches(ImportBatch... importBatches) The list of import batches that match the request filters.The ID of the import task.importSourceArn(String importSourceArn) The ARN of the source being imported from.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
-
importSourceArn
The ARN of the source being imported from.
- Parameters:
importSourceArn- The ARN of the source being imported from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importId
The ID of the import task.
- Parameters:
importId- The ID of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importBatches
The list of import batches that match the request filters.
- Parameters:
importBatches- The list of import batches that match the request filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importBatches
The list of import batches that match the request filters.
- Parameters:
importBatches- The list of import batches that match the request filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importBatches
DescribeImportTaskBatchesResponse.Builder importBatches(Consumer<ImportBatch.Builder>... importBatches) The list of import batches that match the request filters.
This is a convenience method that creates an instance of theImportBatch.Builderavoiding the need to create one manually viaImportBatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportBatches(List<ImportBatch>).- Parameters:
importBatches- a consumer that will call methods onImportBatch.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.
-