Interface AssetHierarchy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetHierarchy.Builder,
,AssetHierarchy> SdkBuilder<AssetHierarchy.Builder,
,AssetHierarchy> SdkPojo
- Enclosing class:
AssetHierarchy
public static interface AssetHierarchy.Builder
extends SdkPojo, CopyableBuilder<AssetHierarchy.Builder,AssetHierarchy>
-
Method Summary
Modifier and TypeMethodDescriptionexternalId
(String externalId) The external ID of the hierarchy, if it has one.The ID of the hierarchy.The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.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
-
id
The ID of the hierarchy. This ID is a
hierarchyId
.- Parameters:
id
- The ID of the hierarchy. This ID is ahierarchyId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.
- Parameters:
name
- The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId
- The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-