| Modifier and Type | Method and Description |
|---|---|
CfnAsset.Builder |
assetDescription(String assetDescription)
`AWS::IoTSiteWise::Asset.AssetDescription`.
|
CfnAsset.Builder |
assetHierarchies(IResolvable assetHierarchies)
A list of asset hierarchies that each contain a `hierarchyLogicalId` .
|
CfnAsset.Builder |
assetHierarchies(List<? extends Object> assetHierarchies)
A list of asset hierarchies that each contain a `hierarchyLogicalId` .
|
CfnAsset.Builder |
assetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
|
CfnAsset.Builder |
assetName(String assetName)
A unique, friendly name for the asset.
|
CfnAsset.Builder |
assetProperties(IResolvable assetProperties)
The list of asset properties for the asset.
|
CfnAsset.Builder |
assetProperties(List<? extends Object> assetProperties)
The list of asset properties for the asset.
|
CfnAsset |
build() |
static CfnAsset.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAsset.Builder |
tags(List<? extends CfnTag> tags)
A list of key-value pairs that contain metadata for the asset.
|
@Stability(value=Stable) public static CfnAsset.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAsset.AssetHierarchyProperty.Builder.@Stability(value=Stable) public CfnAsset.Builder assetModelId(String assetModelId)
assetModelId - The ID of the asset model from which to create the asset. This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetName(String assetName)
The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+ .
assetName - A unique, friendly name for the asset. This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetDescription(String assetDescription)
assetDescription - `AWS::IoTSiteWise::Asset.AssetDescription`. This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetHierarchies(IResolvable assetHierarchies)
A hierarchy specifies allowed parent/child asset relationships.
assetHierarchies - A list of asset hierarchies that each contain a `hierarchyLogicalId` . This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetHierarchies(List<? extends Object> assetHierarchies)
A hierarchy specifies allowed parent/child asset relationships.
assetHierarchies - A list of asset hierarchies that each contain a `hierarchyLogicalId` . This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetProperties(IResolvable assetProperties)
This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.
assetProperties - The list of asset properties for the asset. This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder assetProperties(List<? extends Object> assetProperties)
This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.
assetProperties - The list of asset properties for the asset. This parameter is required.this@Stability(value=Stable) public CfnAsset.Builder tags(List<? extends CfnTag> tags)
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
tags - A list of key-value pairs that contain metadata for the asset. This parameter is required.thisCopyright © 2022. All rights reserved.