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 Details

    • id

      The ID of the hierarchy. This ID is a hierarchyId.

      Parameters:
      id - The ID of the hierarchy. This ID is a hierarchyId.
      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

      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.