Class AssetModelReference.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.AssetModelReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetModelReference>
- Enclosing interface:
AssetModelReference
@Stability(Stable)
public static final class AssetModelReference.Builder
extends Object
implements software.amazon.jsii.Builder<AssetModelReference>
A builder for
AssetModelReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetModelArn
(String assetModelArn) Sets the value ofAssetModelReference.getAssetModelArn()
assetModelId
(String assetModelId) Sets the value ofAssetModelReference.getAssetModelId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetModelArn
Sets the value ofAssetModelReference.getAssetModelArn()
- Parameters:
assetModelArn
- The ARN of the AssetModel resource. This parameter is required.- Returns:
this
-
assetModelId
Sets the value ofAssetModelReference.getAssetModelId()
- Parameters:
assetModelId
- The AssetModelId of the AssetModel resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetModelReference>
- Returns:
- a new instance of
AssetModelReference
- Throws:
NullPointerException
- if any required attribute was not provided
-