public static interface CreateAssetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateAssetResponse.Builder |
assetArn(String assetArn)
The ARN of the
asset, which has the following format.
|
CreateAssetResponse.Builder |
assetId(String assetId)
The ID of the asset.
|
CreateAssetResponse.Builder |
assetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
default CreateAssetResponse.Builder |
assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The status of the asset, which contains a state (
CREATING after successfully calling this
operation) and any error message. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAssetResponse.Builder assetId(String assetId)
The ID of the asset. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs.
assetId - The ID of the asset. This ID uniquely identifies the asset within IoT SiteWise and can be used with
other IoT SiteWise APIs.CreateAssetResponse.Builder assetArn(String assetArn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
assetArn - The ARN of
the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
CreateAssetResponse.Builder assetStatus(AssetStatus assetStatus)
The status of the asset, which contains a state (CREATING after successfully calling this
operation) and any error message.
assetStatus - The status of the asset, which contains a state (CREATING after successfully calling this
operation) and any error message.default CreateAssetResponse.Builder assetStatus(Consumer<AssetStatus.Builder> assetStatus)
The status of the asset, which contains a state (CREATING 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 © 2022. All rights reserved.