Interface CfnAsset.AssetHierarchyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAsset.AssetHierarchyProperty.Jsii$Proxy
- Enclosing class:
CfnAsset
@Stability(Stable)
public static interface CfnAsset.AssetHierarchyProperty
extends software.amazon.jsii.JsiiSerializable
Describes an asset hierarchy that contains a hierarchy's name and ID.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotsitewise.*; AssetHierarchyProperty assetHierarchyProperty = AssetHierarchyProperty.builder() .childAssetId("childAssetId") // the properties below are optional .externalId("externalId") .id("id") .logicalId("logicalId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAsset.AssetHierarchyProperty
static final class
An implementation forCfnAsset.AssetHierarchyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChildAssetId
The Id of the child asset.- See Also:
-
getExternalId
The external ID of the hierarchy, if it has one.When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
- See Also:
-
getId
The ID of the hierarchy. This ID is ahierarchyId
.This is a return value and can't be set.
- See Also:
-
getLogicalId
The ID of the hierarchy.This ID is a
hierarchyId
.- See Also:
-
builder
-