Class CfnComputationModel.AssetPropertyBindingValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputationModel.AssetPropertyBindingValueProperty>
- Enclosing interface:
CfnComputationModel.AssetPropertyBindingValueProperty
@Stability(Stable)
public static final class CfnComputationModel.AssetPropertyBindingValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputationModel.AssetPropertyBindingValueProperty>
A builder for
CfnComputationModel.AssetPropertyBindingValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnComputationModel.AssetPropertyBindingValueProperty.getAssetId()build()Builds the configured instance.propertyId(String propertyId) Sets the value ofCfnComputationModel.AssetPropertyBindingValueProperty.getPropertyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetId
@Stability(Stable) public CfnComputationModel.AssetPropertyBindingValueProperty.Builder assetId(String assetId) Sets the value ofCfnComputationModel.AssetPropertyBindingValueProperty.getAssetId()- Parameters:
assetId- The ID of the asset containing the property. This parameter is required. This identifies the specific asset instance's property value used in the computation model.- Returns:
this
-
propertyId
@Stability(Stable) public CfnComputationModel.AssetPropertyBindingValueProperty.Builder propertyId(String propertyId) Sets the value ofCfnComputationModel.AssetPropertyBindingValueProperty.getPropertyId()- Parameters:
propertyId- The ID of the property within the asset. This parameter is required. This identifies the specific property's value used in the computation model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputationModel.AssetPropertyBindingValueProperty>- Returns:
- a new instance of
CfnComputationModel.AssetPropertyBindingValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-