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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetHierarchy.BuilderexternalId(String externalId)The external ID of the hierarchy, if it has one.AssetHierarchy.Builderid(String id)The ID of the hierarchy.AssetHierarchy.Buildername(String name)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 Detail
-
id
AssetHierarchy.Builder id(String 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
AssetHierarchy.Builder name(String 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
AssetHierarchy.Builder externalId(String 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.
-
-