Modifier and Type | Method and Description |
---|---|
CfnAsset.Builder |
assetDescription(java.lang.String assetDescription)
A description for the asset.
|
CfnAsset.Builder |
assetHierarchies(IResolvable assetHierarchies)
A list of asset hierarchies that each contain a `hierarchyLogicalId` .
|
CfnAsset.Builder |
assetHierarchies(java.util.List<? extends java.lang.Object> assetHierarchies)
A list of asset hierarchies that each contain a `hierarchyLogicalId` .
|
CfnAsset.Builder |
assetModelId(java.lang.String assetModelId)
The ID of the asset model from which to create the asset.
|
CfnAsset.Builder |
assetName(java.lang.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(java.util.List<? extends java.lang.Object> assetProperties)
The list of asset properties for the asset.
|
CfnAsset |
build() |
static CfnAsset.Builder |
create(Construct scope,
java.lang.String id) |
CfnAsset.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of key-value pairs that contain metadata for the asset.
|
public static CfnAsset.Builder create(Construct scope, java.lang.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
.public CfnAsset.Builder assetModelId(java.lang.String assetModelId)
assetModelId
- The ID of the asset model from which to create the asset. This parameter is required.this
public CfnAsset.Builder assetName(java.lang.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
public CfnAsset.Builder assetDescription(java.lang.String assetDescription)
assetDescription
- A description for the asset. This parameter is required.this
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
public CfnAsset.Builder assetHierarchies(java.util.List<? extends java.lang.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
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
public CfnAsset.Builder assetProperties(java.util.List<? extends java.lang.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
public CfnAsset.Builder tags(java.util.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.this
public CfnAsset build()