Interface CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Jsii$Proxy
- Enclosing class:
CfnAssetModel
@Stability(Stable)
public static interface CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about applied interface hierarchy and asset model hierarchy.
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.*;
EnforcedAssetModelInterfaceRelationshipProperty enforcedAssetModelInterfaceRelationshipProperty = EnforcedAssetModelInterfaceRelationshipProperty.builder()
.interfaceAssetModelId("interfaceAssetModelId")
.propertyMappings(List.of(EnforcedAssetModelInterfacePropertyMappingProperty.builder()
.interfaceAssetModelPropertyExternalId("interfaceAssetModelPropertyExternalId")
// the properties below are optional
.assetModelPropertyExternalId("assetModelPropertyExternalId")
.assetModelPropertyLogicalId("assetModelPropertyLogicalId")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInterfaceAssetModelId
The ID of the asset model that has the interface applied to it.- See Also:
-
getPropertyMappings
A list of property mappings between the interface asset model and the asset model where the interface is applied.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty>- See Also:
-
builder
@Stability(Stable) static CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder builder()
-