@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.044Z") @Stability(value=Stable) public interface CfnAssetProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnAssetProps cfnAssetProps = CfnAssetProps.builder()
.assetModelId("assetModelId")
.assetName("assetName")
// the properties below are optional
.assetDescription("assetDescription")
.assetHierarchies(List.of(AssetHierarchyProperty.builder()
.childAssetId("childAssetId")
.logicalId("logicalId")
.build()))
.assetProperties(List.of(AssetPropertyProperty.builder()
.logicalId("logicalId")
// the properties below are optional
.alias("alias")
.notificationState("notificationState")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetProps.Builder
A builder for
CfnAssetProps |
static class |
CfnAssetProps.Jsii$Proxy
An implementation for
CfnAssetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetProps.Builder |
builder() |
default String |
getAssetDescription()
`AWS::IoTSiteWise::Asset.AssetDescription`.
|
default Object |
getAssetHierarchies()
A list of asset hierarchies that each contain a `hierarchyLogicalId` .
|
String |
getAssetModelId()
The ID of the asset model from which to create the asset.
|
String |
getAssetName()
A unique, friendly name for the asset.
|
default Object |
getAssetProperties()
The list of asset properties for the asset.
|
default List<CfnTag> |
getTags()
A list of key-value pairs that contain metadata for the asset.
|
@Stability(value=Stable) @NotNull String getAssetModelId()
@Stability(value=Stable) @NotNull String getAssetName()
The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+ .
@Stability(value=Stable) @Nullable default String getAssetDescription()
@Stability(value=Stable) @Nullable default Object getAssetHierarchies()
A hierarchy specifies allowed parent/child asset relationships.
@Stability(value=Stable) @Nullable default Object getAssetProperties()
This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
@Stability(value=Stable) static CfnAssetProps.Builder builder()
CfnAssetProps.Builder of CfnAssetPropsCopyright © 2022. All rights reserved.