Class CfnAssetModel.VariableValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAssetModel.VariableValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModel.VariableValueProperty>
- Enclosing interface:
- CfnAssetModel.VariableValueProperty
@Stability(Stable)
public static final class CfnAssetModel.VariableValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModel.VariableValueProperty>
A builder for
CfnAssetModel.VariableValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.hierarchyLogicalId
(String hierarchyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyLogicalId()
propertyLogicalId
(String propertyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyLogicalId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
propertyLogicalId
@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder propertyLogicalId(String propertyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyLogicalId()
- Parameters:
propertyLogicalId
- TheLogicalID
of the property to use as the variable. This parameter is required.- Returns:
this
-
hierarchyLogicalId
@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder hierarchyLogicalId(String hierarchyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyLogicalId()
- Parameters:
hierarchyLogicalId
- TheLogicalID
of the hierarchy to query for thePropertyLogicalID
. You use ahierarchyLogicalID
instead of a model ID because you can have several hierarchies using the same model and therefore the same property. For example, you might have separately grouped assets that come from the same asset model. For more information, see Defining relationships between assets in the AWS IoT SiteWise User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssetModel.VariableValueProperty>
- Returns:
- a new instance of
CfnAssetModel.VariableValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-