Interface DeleteDatasetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteDatasetResponse.Builder,
,DeleteDatasetResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DeleteDatasetResponse.Builder,
,DeleteDatasetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteDatasetResponse
@Mutable
@NotThreadSafe
public static interface DeleteDatasetResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DeleteDatasetResponse.Builder,DeleteDatasetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteDatasetResponse.Builder
datasetStatus
(Consumer<DatasetStatus.Builder> datasetStatus) The status of the dataset.datasetStatus
(DatasetStatus datasetStatus) The status of the dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.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
-
datasetStatus
The status of the dataset. This contains the state and any error messages. State is
DELETING
after a successfull call to this API, and any associated error message.- Parameters:
datasetStatus
- The status of the dataset. This contains the state and any error messages. State isDELETING
after a successfull call to this API, and any associated error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetStatus
The status of the dataset. This contains the state and any error messages. State is
This is a convenience method that creates an instance of theDELETING
after a successfull call to this API, and any associated error message.DatasetStatus.Builder
avoiding the need to create one manually viaDatasetStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetStatus(DatasetStatus)
.- Parameters:
datasetStatus
- a consumer that will call methods onDatasetStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-