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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.hierarchyExternalId(String hierarchyExternalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyExternalId()hierarchyId(String hierarchyId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyId()hierarchyLogicalId(String hierarchyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyLogicalId()propertyExternalId(String propertyExternalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyExternalId()propertyId(String propertyId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyId()propertyLogicalId(String propertyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyLogicalId()propertyPath(List<? extends Object> propertyPath) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyPath()propertyPath(IResolvable propertyPath) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyPath()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
hierarchyExternalId@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder hierarchyExternalId(String hierarchyExternalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyExternalId()- Parameters:
- hierarchyExternalId- The external ID of the hierarchy being referenced. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
- Returns:
- this
 
- 
hierarchyId@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder hierarchyId(String hierarchyId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyId()- Parameters:
- hierarchyId- The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID. If the hierarchy has an external ID, you can specify- externalId:followed by the external ID. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .- You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and therefore the same - propertyId. For example, you might have separately grouped assets that come from the same asset model. For more information, see Asset hierarchies in the AWS IoT SiteWise User Guide .
- Returns:
- this
 
- 
hierarchyLogicalId@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder hierarchyLogicalId(String hierarchyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getHierarchyLogicalId()- Parameters:
- hierarchyLogicalId- The- LogicalIDof the hierarchy to query for the- PropertyLogicalID. You use a- hierarchyLogicalIDinstead 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 asset models (hierarchies) in the AWS IoT SiteWise User Guide .
- Returns:
- this
 
- 
propertyExternalId@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder propertyExternalId(String propertyExternalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyExternalId()- Parameters:
- propertyExternalId- The external ID of the property being referenced. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
- Returns:
- this
 
- 
propertyIdSets the value ofCfnAssetModel.VariableValueProperty.getPropertyId()- Parameters:
- propertyId- The ID of the property to use as the variable. You can use the property- nameif it's from the same asset model. If the property has an external ID, you can specify- externalId:followed by the external ID. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .- This is a return value and can't be set. 
- Returns:
- this
 
- 
propertyLogicalId@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder propertyLogicalId(String propertyLogicalId) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyLogicalId()- Parameters:
- propertyLogicalId- The- LogicalIDof the property that is being referenced.
- Returns:
- this
 
- 
propertyPath@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder propertyPath(IResolvable propertyPath) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyPath()- Parameters:
- propertyPath- The path of the property. Each step of the path is the name of the step. See the following example:- PropertyPath: Name: AssetModelName Name: Composite1 Name: NestedComposite
- Returns:
- this
 
- 
propertyPath@Stability(Stable) public CfnAssetModel.VariableValueProperty.Builder propertyPath(List<? extends Object> propertyPath) Sets the value ofCfnAssetModel.VariableValueProperty.getPropertyPath()- Parameters:
- propertyPath- The path of the property. Each step of the path is the name of the step. See the following example:- PropertyPath: Name: AssetModelName Name: Composite1 Name: NestedComposite
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnAssetModel.VariableValueProperty>
- Returns:
- a new instance of CfnAssetModel.VariableValueProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-