@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-28T21:34:16.175Z")
public interface CfnAssetModelProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotsitewise.*; CfnAssetModelProps cfnAssetModelProps = CfnAssetModelProps.builder() .assetModelName("assetModelName") // the properties below are optional .assetModelCompositeModels(List.of(AssetModelCompositeModelProperty.builder() .name("name") .type("type") // the properties below are optional .compositeModelProperties(List.of(AssetModelPropertyProperty.builder() .dataType("dataType") .logicalId("logicalId") .name("name") .type(PropertyTypeProperty.builder() .typeName("typeName") // the properties below are optional .attribute(AttributeProperty.builder() .defaultValue("defaultValue") .build()) .metric(MetricProperty.builder() .expression("expression") .variables(List.of(ExpressionVariableProperty.builder() .name("name") .value(VariableValueProperty.builder() .propertyLogicalId("propertyLogicalId") // the properties below are optional .hierarchyLogicalId("hierarchyLogicalId") .build()) .build())) .window(MetricWindowProperty.builder() .tumbling(TumblingWindowProperty.builder() .interval("interval") // the properties below are optional .offset("offset") .build()) .build()) .build()) .transform(TransformProperty.builder() .expression("expression") .variables(List.of(ExpressionVariableProperty.builder() .name("name") .value(VariableValueProperty.builder() .propertyLogicalId("propertyLogicalId") // the properties below are optional .hierarchyLogicalId("hierarchyLogicalId") .build()) .build())) .build()) .build()) // the properties below are optional .dataTypeSpec("dataTypeSpec") .unit("unit") .build())) .description("description") .build())) .assetModelDescription("assetModelDescription") .assetModelHierarchies(List.of(AssetModelHierarchyProperty.builder() .childAssetModelId("childAssetModelId") .logicalId("logicalId") .name("name") .build())) .assetModelProperties(List.of(AssetModelPropertyProperty.builder() .dataType("dataType") .logicalId("logicalId") .name("name") .type(PropertyTypeProperty.builder() .typeName("typeName") // the properties below are optional .attribute(AttributeProperty.builder() .defaultValue("defaultValue") .build()) .metric(MetricProperty.builder() .expression("expression") .variables(List.of(ExpressionVariableProperty.builder() .name("name") .value(VariableValueProperty.builder() .propertyLogicalId("propertyLogicalId") // the properties below are optional .hierarchyLogicalId("hierarchyLogicalId") .build()) .build())) .window(MetricWindowProperty.builder() .tumbling(TumblingWindowProperty.builder() .interval("interval") // the properties below are optional .offset("offset") .build()) .build()) .build()) .transform(TransformProperty.builder() .expression("expression") .variables(List.of(ExpressionVariableProperty.builder() .name("name") .value(VariableValueProperty.builder() .propertyLogicalId("propertyLogicalId") // the properties below are optional .hierarchyLogicalId("hierarchyLogicalId") .build()) .build())) .build()) .build()) // the properties below are optional .dataTypeSpec("dataTypeSpec") .unit("unit") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAssetModelProps.Builder
A builder for
CfnAssetModelProps |
static class |
CfnAssetModelProps.Jsii$Proxy
An implementation for
CfnAssetModelProps |
Modifier and Type | Method and Description |
---|---|
static CfnAssetModelProps.Builder |
builder() |
default java.lang.Object |
getAssetModelCompositeModels()
The composite asset models that are part of this asset model.
|
default java.lang.String |
getAssetModelDescription()
A description for the asset model.
|
default java.lang.Object |
getAssetModelHierarchies()
The hierarchy definitions of the asset model.
|
java.lang.String |
getAssetModelName()
A unique, friendly name for the asset model.
|
default java.lang.Object |
getAssetModelProperties()
The property definitions of the asset model.
|
default java.util.List<CfnTag> |
getTags()
A list of key-value pairs that contain metadata for the asset.
|
java.lang.String getAssetModelName()
The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+
.
default java.lang.Object getAssetModelCompositeModels()
Composite asset models are asset models that contain specific properties. Each composite model has a type that defines the properties that the composite model supports. You can use composite asset models to define alarms on this asset model.
default java.lang.String getAssetModelDescription()
default java.lang.Object getAssetModelHierarchies()
Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Defining relationships between assets 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 .
default java.lang.Object getAssetModelProperties()
For more information, see Defining data 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 .
default java.util.List<CfnTag> getTags()
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
static CfnAssetModelProps.Builder builder()
CfnAssetModelProps.Builder
of CfnAssetModelProps