public static final class CfnAssetModel.AssetModelHierarchyProperty.Builder
extends java.lang.Object
CfnAssetModel.AssetModelHierarchyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAssetModel.AssetModelHierarchyProperty |
build()
Builds the configured instance.
|
CfnAssetModel.AssetModelHierarchyProperty.Builder |
childAssetModelId(java.lang.String childAssetModelId)
Sets the value of
CfnAssetModel.AssetModelHierarchyProperty.getChildAssetModelId() |
CfnAssetModel.AssetModelHierarchyProperty.Builder |
logicalId(java.lang.String logicalId)
Sets the value of
CfnAssetModel.AssetModelHierarchyProperty.getLogicalId() |
CfnAssetModel.AssetModelHierarchyProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnAssetModel.AssetModelHierarchyProperty.getName() |
public CfnAssetModel.AssetModelHierarchyProperty.Builder childAssetModelId(java.lang.String childAssetModelId)
CfnAssetModel.AssetModelHierarchyProperty.getChildAssetModelId()
childAssetModelId
- The Id of the asset model. This parameter is required.this
public CfnAssetModel.AssetModelHierarchyProperty.Builder logicalId(java.lang.String logicalId)
CfnAssetModel.AssetModelHierarchyProperty.getLogicalId()
logicalId
- The `LogicalID` of the asset model hierarchy. This ID is a `hierarchyLogicalId` . This parameter is required.
The maximum length is 256 characters, with the pattern [^\ u0000-\ u001F\ u007F]+
this
public CfnAssetModel.AssetModelHierarchyProperty.Builder name(java.lang.String name)
CfnAssetModel.AssetModelHierarchyProperty.getName()
name
- The name of the asset model hierarchy. This parameter is required.
The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+
.this
public CfnAssetModel.AssetModelHierarchyProperty build()
CfnAssetModel.AssetModelHierarchyProperty
java.lang.NullPointerException
- if any required attribute was not provided