Interface GetDataSetImportTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataSetImportTaskResponse.Builder,
,GetDataSetImportTaskResponse> M2Response.Builder
,SdkBuilder<GetDataSetImportTaskResponse.Builder,
,GetDataSetImportTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataSetImportTaskResponse
@Mutable
@NotThreadSafe
public static interface GetDataSetImportTaskResponse.Builder
extends M2Response.Builder, SdkPojo, CopyableBuilder<GetDataSetImportTaskResponse.Builder,GetDataSetImportTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe status of the task.status
(DataSetTaskLifecycle status) The status of the task.summary
(Consumer<DataSetImportSummary.Builder> summary) A summary of the status of the task.summary
(DataSetImportSummary summary) A summary of the status of the task.The task identifier.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.Builder
build, responseMetadata, responseMetadata
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 Details
-
status
The status of the task.
- Parameters:
status
- The status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the task.
- Parameters:
status
- The status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
A summary of the status of the task.
- Parameters:
summary
- A summary of the status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default GetDataSetImportTaskResponse.Builder summary(Consumer<DataSetImportSummary.Builder> summary) A summary of the status of the task.
This is a convenience method that creates an instance of theDataSetImportSummary.Builder
avoiding the need to create one manually viaDataSetImportSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(DataSetImportSummary)
.- Parameters:
summary
- a consumer that will call methods onDataSetImportSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskId
The task identifier.
- Parameters:
taskId
- The task identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-