public static interface AssetModelSummary.Builder extends SdkPojo, CopyableBuilder<AssetModelSummary.Builder,AssetModelSummary>
| Modifier and Type | Method and Description |
|---|---|
AssetModelSummary.Builder |
arn(String arn)
The ARN of the asset
model, which has the following format.
|
AssetModelSummary.Builder |
creationDate(Instant creationDate)
The date the asset model was created, in Unix epoch time.
|
AssetModelSummary.Builder |
description(String description)
The asset model description.
|
AssetModelSummary.Builder |
id(String id)
The ID of the asset model (used with IoT SiteWise APIs).
|
AssetModelSummary.Builder |
lastUpdateDate(Instant lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
|
AssetModelSummary.Builder |
name(String name)
The name of the asset model.
|
AssetModelSummary.Builder |
status(AssetModelStatus status)
The current status of the asset model.
|
default AssetModelSummary.Builder |
status(Consumer<AssetModelStatus.Builder> status)
The current status of the asset model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetModelSummary.Builder id(String id)
The ID of the asset model (used with IoT SiteWise APIs).
id - The ID of the asset model (used with IoT SiteWise APIs).AssetModelSummary.Builder arn(String arn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
arn - The ARN of
the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
AssetModelSummary.Builder name(String name)
The name of the asset model.
name - The name of the asset model.AssetModelSummary.Builder description(String description)
The asset model description.
description - The asset model description.AssetModelSummary.Builder creationDate(Instant creationDate)
The date the asset model was created, in Unix epoch time.
creationDate - The date the asset model was created, in Unix epoch time.AssetModelSummary.Builder lastUpdateDate(Instant lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
lastUpdateDate - The date the asset model was last updated, in Unix epoch time.AssetModelSummary.Builder status(AssetModelStatus status)
The current status of the asset model.
status - The current status of the asset model.default AssetModelSummary.Builder status(Consumer<AssetModelStatus.Builder> status)
The current status of the asset model.
This is a convenience method that creates an instance of theAssetModelStatus.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 status(AssetModelStatus).
status - a consumer that will call methods on AssetModelStatus.Builderstatus(AssetModelStatus)Copyright © 2023. All rights reserved.