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 interface that is enforced to the asset model.- Returns:
this
-
propertyMappings
@Stability(Stable) public CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder propertyMappings(IResolvable propertyMappings) Sets the value ofCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.getPropertyMappings()
- Parameters:
propertyMappings
- Contains information about enforced interface property and asset model property.- Returns:
this
-
propertyMappings
@Stability(Stable) public CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.Builder propertyMappings(List<? extends Object> propertyMappings) Sets the value ofCfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty.getPropertyMappings()
- Parameters:
propertyMappings
- Contains information about enforced interface property and asset model property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty>
- Returns:
- a new instance of
CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-