public static interface UpdateAssetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssetResponse.Builder,UpdateAssetResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateAssetResponse.Builder |
assetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (
UPDATING after successfully calling this
operation) and any error message. |
default UpdateAssetResponse.Builder |
assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The status of the asset, which contains a state (
UPDATING after successfully calling this
operation) and any error message. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateAssetResponse.Builder assetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (UPDATING after successfully calling this
operation) and any error message.
assetStatus - The status of the asset, which contains a state (UPDATING after successfully calling this
operation) and any error message.default UpdateAssetResponse.Builder assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The status of the asset, which contains a state (UPDATING after successfully calling this
operation) and any error message.
AssetStatus.Builder avoiding the need to
create one manually via AssetStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to assetStatus(AssetStatus).
assetStatus - a consumer that will call methods on AssetStatus.BuilderassetStatus(AssetStatus)Copyright © 2023. All rights reserved.