Interface AssetModelCompositeModelSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetModelCompositeModelSummary.Builder,
,AssetModelCompositeModelSummary> SdkBuilder<AssetModelCompositeModelSummary.Builder,
,AssetModelCompositeModelSummary> SdkPojo
- Enclosing class:
AssetModelCompositeModelSummary
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the the composite model that this summary describes..externalId
(String externalId) The external ID of a composite model on this asset model.The ID of the the composite model that this summary describes..The name of the the composite model that this summary describes..The path that includes all the pieces that make up the composite model.The path that includes all the pieces that make up the composite model.path
(AssetModelCompositeModelPathSegment... path) The path that includes all the pieces that make up the composite model.The type of asset model.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 the composite model that this summary describes..
- Parameters:
id
- The ID of the the composite model that this summary describes..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId
- The external ID of a composite model on 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.
-
name
The name of the the composite model that this summary describes..
- Parameters:
name
- The name of the the composite model that this summary describes..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of asset model.
-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
- Parameters:
type
- The type of asset model.-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
The description of the the composite model that this summary describes..
- Parameters:
description
- The description of the the composite model that this summary describes..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path that includes all the pieces that make up the composite model.
- Parameters:
path
- The path that includes all the pieces that make up the composite model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path that includes all the pieces that make up the composite model.
- Parameters:
path
- The path that includes all the pieces that make up the composite model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
AssetModelCompositeModelSummary.Builder path(Consumer<AssetModelCompositeModelPathSegment.Builder>... path) The path that includes all the pieces that make up the composite model.
This is a convenience method that creates an instance of theAssetModelCompositeModelPathSegment.Builder
avoiding the need to create one manually viaAssetModelCompositeModelPathSegment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(List<AssetModelCompositeModelPathSegment>)
.- Parameters:
path
- a consumer that will call methods onAssetModelCompositeModelPathSegment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-