Interface VariableValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VariableValue.Builder,
,VariableValue> SdkBuilder<VariableValue.Builder,
,VariableValue> SdkPojo
- Enclosing class:
VariableValue
-
Method Summary
Modifier and TypeMethodDescriptionhierarchyId
(String hierarchyId) The ID of the hierarchy to query for the property ID.propertyId
(String propertyId) The ID of the property to use as the variable.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
propertyId
The ID of the property to use as the variable. You can use the property
name
if it's from the same asset model.- Parameters:
propertyId
- The ID of the property to use as the variable. You can use the propertyname
if it's from the same asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
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 IoT SiteWise User Guide.- 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.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 IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-