Class CfnAssetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetPropsMixin>
- Enclosing class:
CfnAssetPropsMixin
CfnAssetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionassetDescription(String assetDescription) The ID of the asset, in UUID format.assetExternalId(String assetExternalId) The external ID of the asset model composite model.assetHierarchies(List<? extends Object> assetHierarchies) A list of asset hierarchies that each contain ahierarchyId.assetHierarchies(IResolvable assetHierarchies) A list of asset hierarchies that each contain ahierarchyId.assetModelId(String assetModelId) The ID of the asset model from which to create the asset.assetModelId(IAssetModelRef assetModelId) The ID of the asset model from which to create the asset.A friendly name for the asset.assetProperties(List<? extends Object> assetProperties) The list of asset properties for the asset.assetProperties(IResolvable assetProperties) The list of asset properties for the asset.build()static CfnAssetPropsMixin.Buildercreate()static CfnAssetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) A list of key-value pairs that contain metadata for the asset.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
assetDescription
The ID of the asset, in UUID format.- Parameters:
assetDescription- The ID of the asset, in UUID format. This parameter is required.- Returns:
this- See Also:
-
assetExternalId
The external ID of the asset model composite model.For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
- Parameters:
assetExternalId- The external ID of the asset model composite model. This parameter is required.- Returns:
this- See Also:
-
assetHierarchies
A list of asset hierarchies that each contain ahierarchyId.A hierarchy specifies allowed parent/child asset relationships.
- Parameters:
assetHierarchies- A list of asset hierarchies that each contain ahierarchyId. This parameter is required.- Returns:
this- See Also:
-
assetHierarchies
@Stability(Stable) public CfnAssetPropsMixin.Builder assetHierarchies(List<? extends Object> assetHierarchies) A list of asset hierarchies that each contain ahierarchyId.A hierarchy specifies allowed parent/child asset relationships.
- Parameters:
assetHierarchies- A list of asset hierarchies that each contain ahierarchyId. This parameter is required.- Returns:
this- See Also:
-
assetModelId
The ID of the asset model from which to create the asset.This can be either the actual ID in UUID format, or else
externalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the AWS IoT SiteWise User Guide .- Parameters:
assetModelId- The ID of the asset model from which to create the asset. This parameter is required.- Returns:
this- See Also:
-
assetModelId
The ID of the asset model from which to create the asset.This can be either the actual ID in UUID format, or else
externalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the AWS IoT SiteWise User Guide .- Parameters:
assetModelId- The ID of the asset model from which to create the asset. This parameter is required.- Returns:
this- See Also:
-
assetName
A friendly name for the asset.- Parameters:
assetName- A friendly name for the asset. This parameter is required.- Returns:
this- See Also:
-
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
assetCompositeModelsobject.- Parameters:
assetProperties- The list of asset properties for the asset. This parameter is required.- Returns:
this- See Also:
-
assetProperties
@Stability(Stable) public CfnAssetPropsMixin.Builder assetProperties(List<? extends Object> 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
assetCompositeModelsobject.- Parameters:
assetProperties- The list of asset properties for the asset. This parameter is required.- Returns:
this- See Also:
-
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 .
- Parameters:
tags- A list of key-value pairs that contain metadata for the asset. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetPropsMixin>- Returns:
- a newly built instance of
CfnAssetPropsMixin.
-