Interface AssetCompositeModelSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetCompositeModelSummary.Builder,
,AssetCompositeModelSummary> SdkBuilder<AssetCompositeModelSummary.Builder,
,AssetCompositeModelSummary> SdkPojo
- Enclosing class:
AssetCompositeModelSummary
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the composite model that this summary describes.externalId
(String externalId) An external ID to assign to the asset model.The ID of the composite model that this summary describes.The name of the composite model that this summary describes.The path that includes all the components of the asset model for the asset.The path that includes all the components of the asset model for the asset.path
(AssetCompositeModelPathSegment... path) The path that includes all the components of the asset model for the asset.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 composite model that this summary describes.
- Parameters:
id
- The ID of the composite model that this summary describes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
An external ID to assign to the asset model.
If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using
UpdateAssetModelCompositeModel
and specifying the derived ID of the model or property from the created model it's a part of.- Parameters:
externalId
- An external ID to assign to the asset model.If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using
UpdateAssetModelCompositeModel
and specifying the derived ID of the model or property from the created model it's a part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the composite model that this summary describes.
- Parameters:
name
- The name of 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
A description of the composite model that this summary describes.
- Parameters:
description
- A description of 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 components of the asset model for the asset.
- Parameters:
path
- The path that includes all the components of the asset model for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path that includes all the components of the asset model for the asset.
- Parameters:
path
- The path that includes all the components of the asset model for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path that includes all the components of the asset model for the asset.
This is a convenience method that creates an instance of theAssetCompositeModelPathSegment.Builder
avoiding the need to create one manually viaAssetCompositeModelPathSegment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(List<AssetCompositeModelPathSegment>)
.- Parameters:
path
- a consumer that will call methods onAssetCompositeModelPathSegment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-