Class CfnAssetModelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModelMixinProps>
- Enclosing interface:
CfnAssetModelMixinProps
CfnAssetModelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetModelCompositeModels(List<? extends Object> assetModelCompositeModels) Sets the value ofCfnAssetModelMixinProps.getAssetModelCompositeModels()assetModelCompositeModels(IResolvable assetModelCompositeModels) Sets the value ofCfnAssetModelMixinProps.getAssetModelCompositeModels()assetModelDescription(String assetModelDescription) Sets the value ofCfnAssetModelMixinProps.getAssetModelDescription()assetModelExternalId(String assetModelExternalId) Sets the value ofCfnAssetModelMixinProps.getAssetModelExternalId()assetModelHierarchies(List<? extends Object> assetModelHierarchies) Sets the value ofCfnAssetModelMixinProps.getAssetModelHierarchies()assetModelHierarchies(IResolvable assetModelHierarchies) Sets the value ofCfnAssetModelMixinProps.getAssetModelHierarchies()assetModelName(String assetModelName) Sets the value ofCfnAssetModelMixinProps.getAssetModelName()assetModelProperties(List<? extends Object> assetModelProperties) Sets the value ofCfnAssetModelMixinProps.getAssetModelProperties()assetModelProperties(IResolvable assetModelProperties) Sets the value ofCfnAssetModelMixinProps.getAssetModelProperties()assetModelType(String assetModelType) Sets the value ofCfnAssetModelMixinProps.getAssetModelType()build()Builds the configured instance.enforcedAssetModelInterfaceRelationships(List<? extends Object> enforcedAssetModelInterfaceRelationships) Sets the value ofCfnAssetModelMixinProps.getEnforcedAssetModelInterfaceRelationships()enforcedAssetModelInterfaceRelationships(IResolvable enforcedAssetModelInterfaceRelationships) Sets the value ofCfnAssetModelMixinProps.getEnforcedAssetModelInterfaceRelationships()Sets the value ofCfnAssetModelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetModelCompositeModels
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelCompositeModels(IResolvable assetModelCompositeModels) Sets the value ofCfnAssetModelMixinProps.getAssetModelCompositeModels()- Parameters:
assetModelCompositeModels- The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.When creating custom composite models, you need to use CreateAssetModelCompositeModel . For more information, see Creating custom composite models (Components) in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelCompositeModels
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelCompositeModels(List<? extends Object> assetModelCompositeModels) Sets the value ofCfnAssetModelMixinProps.getAssetModelCompositeModels()- Parameters:
assetModelCompositeModels- The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.When creating custom composite models, you need to use CreateAssetModelCompositeModel . For more information, see Creating custom composite models (Components) in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelDescription
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelDescription(String assetModelDescription) Sets the value ofCfnAssetModelMixinProps.getAssetModelDescription()- Parameters:
assetModelDescription- A description for the asset model.- Returns:
this
-
assetModelExternalId
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelExternalId(String assetModelExternalId) Sets the value ofCfnAssetModelMixinProps.getAssetModelExternalId()- Parameters:
assetModelExternalId- The external ID of the asset model. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .- Returns:
this
-
assetModelHierarchies
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelHierarchies(IResolvable assetModelHierarchies) Sets the value ofCfnAssetModelMixinProps.getAssetModelHierarchies()- Parameters:
assetModelHierarchies- The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the AWS IoT SiteWise User Guide .You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelHierarchies
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelHierarchies(List<? extends Object> assetModelHierarchies) Sets the value ofCfnAssetModelMixinProps.getAssetModelHierarchies()- Parameters:
assetModelHierarchies- The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the AWS IoT SiteWise User Guide .You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelName
Sets the value ofCfnAssetModelMixinProps.getAssetModelName()- Parameters:
assetModelName- A unique name for the asset model.- Returns:
this
-
assetModelProperties
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelProperties(IResolvable assetModelProperties) Sets the value ofCfnAssetModelMixinProps.getAssetModelProperties()- Parameters:
assetModelProperties- The property definitions of the asset model. For more information, see Asset properties in the AWS IoT SiteWise User Guide .You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelProperties
@Stability(Stable) public CfnAssetModelMixinProps.Builder assetModelProperties(List<? extends Object> assetModelProperties) Sets the value ofCfnAssetModelMixinProps.getAssetModelProperties()- Parameters:
assetModelProperties- The property definitions of the asset model. For more information, see Asset properties in the AWS IoT SiteWise User Guide .You can specify up to 200 properties per asset model. For more information, see Quotas in the AWS IoT SiteWise User Guide .
- Returns:
this
-
assetModelType
Sets the value ofCfnAssetModelMixinProps.getAssetModelType()- Parameters:
assetModelType- 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.
- INTERFACE – An interface is a type of model that defines a standard structure that can be applied to different asset models.
- Returns:
this
-
enforcedAssetModelInterfaceRelationships
@Stability(Stable) public CfnAssetModelMixinProps.Builder enforcedAssetModelInterfaceRelationships(IResolvable enforcedAssetModelInterfaceRelationships) Sets the value ofCfnAssetModelMixinProps.getEnforcedAssetModelInterfaceRelationships()- Parameters:
enforcedAssetModelInterfaceRelationships- a list of asset model and interface relationships.- Returns:
this
-
enforcedAssetModelInterfaceRelationships
@Stability(Stable) public CfnAssetModelMixinProps.Builder enforcedAssetModelInterfaceRelationships(List<? extends Object> enforcedAssetModelInterfaceRelationships) Sets the value ofCfnAssetModelMixinProps.getEnforcedAssetModelInterfaceRelationships()- Parameters:
enforcedAssetModelInterfaceRelationships- a list of asset model and interface relationships.- Returns:
this
-
tags
Sets the value ofCfnAssetModelMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetModelMixinProps>- Returns:
- a new instance of
CfnAssetModelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-