@Stability(value=Stable) public static final class CfnAssetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetProps>
CfnAssetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAssetProps.Builder |
assetHierarchies(IResolvable assetHierarchies)
Sets the value of
CfnAssetProps.getAssetHierarchies() |
CfnAssetProps.Builder |
assetHierarchies(List<? extends Object> assetHierarchies)
Sets the value of
CfnAssetProps.getAssetHierarchies() |
CfnAssetProps.Builder |
assetModelId(String assetModelId)
Sets the value of
CfnAssetProps.getAssetModelId() |
CfnAssetProps.Builder |
assetName(String assetName)
Sets the value of
CfnAssetProps.getAssetName() |
CfnAssetProps.Builder |
assetProperties(IResolvable assetProperties)
Sets the value of
CfnAssetProps.getAssetProperties() |
CfnAssetProps.Builder |
assetProperties(List<? extends Object> assetProperties)
Sets the value of
CfnAssetProps.getAssetProperties() |
CfnAssetProps |
build()
Builds the configured instance.
|
CfnAssetProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnAssetProps.getTags() |
@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 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.