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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CancelImportTaskResponse.BuildercreationTime(Long creationTime)The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.CancelImportTaskResponse.BuilderimportId(String importId)The ID of the cancelled import task.default CancelImportTaskResponse.BuilderimportStatistics(Consumer<ImportStatistics.Builder> importStatistics)Statistics about the import progress at the time of cancellation.CancelImportTaskResponse.BuilderimportStatistics(ImportStatistics importStatistics)Statistics about the import progress at the time of cancellation.CancelImportTaskResponse.BuilderimportStatus(String importStatus)The final status of the import task.CancelImportTaskResponse.BuilderimportStatus(ImportStatus importStatus)The final status of the import task.CancelImportTaskResponse.BuilderlastUpdatedTime(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
importId
CancelImportTaskResponse.Builder importId(String 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
CancelImportTaskResponse.Builder importStatistics(ImportStatistics 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:
importStatistics(ImportStatistics)
-
importStatus
CancelImportTaskResponse.Builder importStatus(String 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,ImportStatus
-
importStatus
CancelImportTaskResponse.Builder importStatus(ImportStatus 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,ImportStatus
-
creationTime
CancelImportTaskResponse.Builder creationTime(Long 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
CancelImportTaskResponse.Builder 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.
- 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.
-
-