@Stability(value=Stable) public static final class CfnAssetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetProps>
CfnAssetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAssetProps.Builder assetModelId(String assetModelId)
CfnAssetProps.getAssetModelId()assetModelId - The ID of the asset model from which to create the asset. This parameter is required.this@Stability(value=Stable) public CfnAssetProps.Builder assetName(String assetName)
CfnAssetProps.getAssetName()assetName - A unique, friendly name for the asset. This parameter is required.
The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+ .this@Stability(value=Stable) public CfnAssetProps.Builder assetDescription(String assetDescription)
CfnAssetProps.getAssetDescription()assetDescription - `AWS::IoTSiteWise::Asset.AssetDescription`.this@Stability(value=Stable) public CfnAssetProps.Builder assetHierarchies(IResolvable assetHierarchies)
CfnAssetProps.getAssetHierarchies()assetHierarchies - A list of asset hierarchies that each contain a `hierarchyLogicalId` .
A hierarchy specifies allowed parent/child asset relationships.this@Stability(value=Stable) public CfnAssetProps.Builder assetHierarchies(List<? extends Object> assetHierarchies)
CfnAssetProps.getAssetHierarchies()assetHierarchies - A list of asset hierarchies that each contain a `hierarchyLogicalId` .
A hierarchy specifies allowed parent/child asset relationships.this@Stability(value=Stable) public CfnAssetProps.Builder assetProperties(IResolvable assetProperties)
CfnAssetProps.getAssetProperties()assetProperties - The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.this@Stability(value=Stable) public CfnAssetProps.Builder assetProperties(List<? extends Object> assetProperties)
CfnAssetProps.getAssetProperties()assetProperties - The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.this@Stability(value=Stable) public CfnAssetProps.Builder tags(List<? extends CfnTag> tags)
CfnAssetProps.getTags()tags - A list of key-value pairs that contain metadata for the asset.
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .this@Stability(value=Stable) public CfnAssetProps build()
build in interface software.amazon.jsii.Builder<CfnAssetProps>CfnAssetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.