Class ComputationModelReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iotsitewise.ComputationModelReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputationModelReference>
- Enclosing interface:
ComputationModelReference
@Stability(Stable)
public static final class ComputationModelReference.Builder
extends Object
implements software.amazon.jsii.Builder<ComputationModelReference>
A builder for
ComputationModelReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computationModelArn(String computationModelArn) Sets the value ofComputationModelReference.getComputationModelArn()computationModelId(String computationModelId) Sets the value ofComputationModelReference.getComputationModelId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computationModelArn
@Stability(Stable) public ComputationModelReference.Builder computationModelArn(String computationModelArn) Sets the value ofComputationModelReference.getComputationModelArn()- Parameters:
computationModelArn- The ARN of the ComputationModel resource. This parameter is required.- Returns:
this
-
computationModelId
@Stability(Stable) public ComputationModelReference.Builder computationModelId(String computationModelId) Sets the value ofComputationModelReference.getComputationModelId()- Parameters:
computationModelId- The ComputationModelId of the ComputationModel resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputationModelReference>- Returns:
- a new instance of
ComputationModelReference - Throws:
NullPointerException- if any required attribute was not provided
-