Interface UpdateAssetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAssetResponse.Builder,,UpdateAssetResponse> IoTSiteWiseResponse.Builder,SdkBuilder<UpdateAssetResponse.Builder,,UpdateAssetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAssetResponse
public static interface UpdateAssetResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssetResponse.Builder,UpdateAssetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAssetResponse.BuilderassetStatus(Consumer<AssetStatus.Builder> assetStatus) The status of the asset, which contains a state (UPDATINGafter successfully calling this operation) and any error message.assetStatus(AssetStatus assetStatus) The status of the asset, which contains a state (UPDATINGafter successfully calling this operation) and any error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetStatus
The status of the asset, which contains a state (
UPDATINGafter successfully calling this operation) and any error message.- Parameters:
assetStatus- The status of the asset, which contains a state (UPDATINGafter successfully calling this operation) and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetStatus
The status of the asset, which contains a state (
This is a convenience method that creates an instance of theUPDATINGafter successfully calling this operation) and any error message.AssetStatus.Builderavoiding the need to create one manually viaAssetStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetStatus(AssetStatus).- Parameters:
assetStatus- a consumer that will call methods onAssetStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-