Interface AssetModelCompositeModelSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetModelCompositeModelSummary.Builder,AssetModelCompositeModelSummary>,SdkBuilder<AssetModelCompositeModelSummary.Builder,AssetModelCompositeModelSummary>,SdkPojo
- Enclosing class:
- AssetModelCompositeModelSummary
public static interface AssetModelCompositeModelSummary.Builder extends SdkPojo, CopyableBuilder<AssetModelCompositeModelSummary.Builder,AssetModelCompositeModelSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetModelCompositeModelSummary.Builderdescription(String description)The description of the the composite model that this summary describes..AssetModelCompositeModelSummary.BuilderexternalId(String externalId)The external ID of a composite model on this asset model.AssetModelCompositeModelSummary.Builderid(String id)The ID of the the composite model that this summary describes..AssetModelCompositeModelSummary.Buildername(String name)The name of the the composite model that this summary describes..AssetModelCompositeModelSummary.Builderpath(Collection<AssetModelCompositeModelPathSegment> path)The path that includes all the pieces that make up the composite model.AssetModelCompositeModelSummary.Builderpath(Consumer<AssetModelCompositeModelPathSegment.Builder>... path)The path that includes all the pieces that make up the composite model.AssetModelCompositeModelSummary.Builderpath(AssetModelCompositeModelPathSegment... path)The path that includes all the pieces that make up the composite model.AssetModelCompositeModelSummary.Buildertype(String type)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 Detail
-
id
AssetModelCompositeModelSummary.Builder id(String 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
AssetModelCompositeModelSummary.Builder externalId(String 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
AssetModelCompositeModelSummary.Builder name(String 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
AssetModelCompositeModelSummary.Builder type(String 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
AssetModelCompositeModelSummary.Builder description(String 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
AssetModelCompositeModelSummary.Builder path(Collection<AssetModelCompositeModelPathSegment> 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(AssetModelCompositeModelPathSegment... 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.Builderavoiding the need to create one manually viaAssetModelCompositeModelPathSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#path(List.) - 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:
#path(java.util.Collection)
-
-