public static interface CreateAssetModelResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetModelResponse.Builder,CreateAssetModelResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateAssetModelResponse.Builder |
assetModelArn(String assetModelArn)
The ARN of the asset
model, which has the following format.
|
CreateAssetModelResponse.Builder |
assetModelId(String assetModelId)
The ID of the asset model.
|
CreateAssetModelResponse.Builder |
assetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
default CreateAssetModelResponse.Builder |
assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus)
The status of the asset model, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAssetModelResponse.Builder assetModelId(String assetModelId)
The ID of the asset model. You can use this ID when you call other AWS IoT SiteWise APIs.
assetModelId - The ID of the asset model. You can use this ID when you call other AWS IoT SiteWise APIs.CreateAssetModelResponse.Builder assetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
assetModelArn - The ARN of
the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
CreateAssetModelResponse.Builder assetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (CREATING after successfully calling this
operation) and any error message.
assetModelStatus - The status of the asset model, which contains a state (CREATING after successfully
calling this operation) and any error message.default CreateAssetModelResponse.Builder assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus)
The status of the asset model, which contains a state (CREATING after successfully calling this
operation) and any error message.
AssetModelStatus.Builder avoiding the need to
create one manually via AssetModelStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to assetModelStatus(AssetModelStatus).assetModelStatus - a consumer that will call methods on AssetModelStatus.BuilderassetModelStatus(AssetModelStatus)Copyright © 2021. All rights reserved.