Interface DeleteAssetModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteAssetModelResponse.Builder,
,DeleteAssetModelResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DeleteAssetModelResponse.Builder,
,DeleteAssetModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteAssetModelResponse
public static interface DeleteAssetModelResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DeleteAssetModelResponse.Builder,DeleteAssetModelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteAssetModelResponse.Builder
assetModelStatus
(Consumer<AssetModelStatus.Builder> assetModelStatus) The status of the asset model, which contains a state (DELETING
after successfully calling this operation) and any error message.assetModelStatus
(AssetModelStatus assetModelStatus) The status of the asset model, which contains a state (DELETING
after successfully calling this operation) and any error message.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetModelStatus
The status of the asset model, which contains a state (
DELETING
after successfully calling this operation) and any error message.- Parameters:
assetModelStatus
- The status of the asset model, which contains a state (DELETING
after successfully calling this operation) and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelStatus
default DeleteAssetModelResponse.Builder assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus) The status of the asset model, which contains a state (
This is a convenience method that creates an instance of theDELETING
after successfully calling this operation) and any error message.AssetModelStatus.Builder
avoiding the need to create one manually viaAssetModelStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelStatus(AssetModelStatus)
.- Parameters:
assetModelStatus
- a consumer that will call methods onAssetModelStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-