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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
statusThe 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:
 
- 
statusThe 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:
 
- 
summaryA 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.
 
- 
summarydefault 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.Builderavoiding the need to create one manually viaDataSetImportSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(DataSetImportSummary).- Parameters:
- summary- a consumer that will call methods on- DataSetImportSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
taskIdThe task identifier. - Parameters:
- taskId- The task identifier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-