Class CfnAsset.AssetHierarchyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAsset.AssetHierarchyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAsset.AssetHierarchyProperty>
- Enclosing interface:
- CfnAsset.AssetHierarchyProperty
@Stability(Stable)
public static final class CfnAsset.AssetHierarchyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAsset.AssetHierarchyProperty>
A builder for
CfnAsset.AssetHierarchyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.childAssetId(String childAssetId) Sets the value ofCfnAsset.AssetHierarchyProperty.getChildAssetId()Sets the value ofCfnAsset.AssetHierarchyProperty.getLogicalId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
childAssetId
Sets the value ofCfnAsset.AssetHierarchyProperty.getChildAssetId()- Parameters:
childAssetId- The Id of the child asset. This parameter is required.- Returns:
this
-
logicalId
Sets the value ofCfnAsset.AssetHierarchyProperty.getLogicalId()- Parameters:
logicalId- TheLogicalIDof the hierarchy. This ID is ahierarchyLogicalId. This parameter is required. The maximum length is 256 characters, with the pattern[^\ u0000-\ u001F\ u007F]+.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAsset.AssetHierarchyProperty>- Returns:
- a new instance of
CfnAsset.AssetHierarchyProperty - Throws:
NullPointerException- if any required attribute was not provided
-