Interface AssetModelHierarchyDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetModelHierarchyDefinition.Builder,AssetModelHierarchyDefinition>,SdkBuilder<AssetModelHierarchyDefinition.Builder,AssetModelHierarchyDefinition>,SdkPojo
- Enclosing class:
- AssetModelHierarchyDefinition
public static interface AssetModelHierarchyDefinition.Builder extends SdkPojo, CopyableBuilder<AssetModelHierarchyDefinition.Builder,AssetModelHierarchyDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetModelHierarchyDefinition.BuilderchildAssetModelId(String childAssetModelId)The ID of an asset model for this hierarchy.AssetModelHierarchyDefinition.BuilderexternalId(String externalId)An external ID to assign to the asset model hierarchy.AssetModelHierarchyDefinition.Builderid(String id)The ID to assign to the asset model hierarchy, if desired.AssetModelHierarchyDefinition.Buildername(String name)The name of the asset model hierarchy definition (as specified 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
-
name
AssetModelHierarchyDefinition.Builder name(String name)
The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).
- Parameters:
name- The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childAssetModelId
AssetModelHierarchyDefinition.Builder childAssetModelId(String childAssetModelId)
The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or else
externalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.- Parameters:
childAssetModelId- The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or elseexternalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
AssetModelHierarchyDefinition.Builder id(String id)
The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
- Parameters:
id- The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
AssetModelHierarchyDefinition.Builder externalId(String externalId)
An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId- An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. 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.
-
-