Interface CancelImportTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<CancelImportTaskResponse.Builder,,CancelImportTaskResponse> SdkBuilder<CancelImportTaskResponse.Builder,,CancelImportTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CancelImportTaskResponse
@Mutable
@NotThreadSafe
public static interface CancelImportTaskResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<CancelImportTaskResponse.Builder,CancelImportTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Long creationTime) The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.The ID of the cancelled import task.default CancelImportTaskResponse.BuilderimportStatistics(Consumer<ImportStatistics.Builder> importStatistics) Statistics about the import progress at the time of cancellation.importStatistics(ImportStatistics importStatistics) Statistics about the import progress at the time of cancellation.importStatus(String importStatus) The final status of the import task.importStatus(ImportStatus importStatus) The final status of the import task.lastUpdatedTime(Long lastUpdatedTime) The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.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
-
importId
The ID of the cancelled import task.
- Parameters:
importId- The ID of the cancelled import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatistics
Statistics about the import progress at the time of cancellation.
- Parameters:
importStatistics- Statistics about the import progress at the time of cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatistics
default CancelImportTaskResponse.Builder importStatistics(Consumer<ImportStatistics.Builder> importStatistics) Statistics about the import progress at the time of cancellation.
This is a convenience method that creates an instance of theImportStatistics.Builderavoiding the need to create one manually viaImportStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportStatistics(ImportStatistics).- Parameters:
importStatistics- a consumer that will call methods onImportStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStatus
The final status of the import task. This will be set to CANCELLED.
- Parameters:
importStatus- The final status of the import task. This will be set to CANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStatus
The final status of the import task. This will be set to CANCELLED.
- Parameters:
importStatus- The final status of the import task. This will be set to CANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
creationTime- The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
lastUpdatedTime- The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-