Class CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty>
- Enclosing interface:
CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty
@Stability(Stable)
public static final class CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.interfaceAssetModelId(String interfaceAssetModelId) propertyMappings(List<? extends Object> propertyMappings) propertyMappings(IResolvable propertyMappings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interfaceAssetModelId
@Stability(Stable) public CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder interfaceAssetModelId(String interfaceAssetModelId) Sets the value ofCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.getInterfaceAssetModelId()- Parameters:
interfaceAssetModelId- The ID of the asset model that has the interface applied to it.- Returns:
this
-
propertyMappings
@Stability(Stable) public CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder propertyMappings(IResolvable propertyMappings) Sets the value ofCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.getPropertyMappings()- Parameters:
propertyMappings- A list of property mappings between the interface asset model and the asset model where the interface is applied.- Returns:
this
-
propertyMappings
@Stability(Stable) public CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder propertyMappings(List<? extends Object> propertyMappings) Sets the value ofCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.getPropertyMappings()- Parameters:
propertyMappings- A list of property mappings between the interface asset model and the asset model where the interface is applied.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty>- Returns:
- a new instance of
CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty - Throws:
NullPointerException- if any required attribute was not provided
-