Class SceneReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iottwinmaker.SceneReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SceneReference>
- Enclosing interface:
SceneReference
@Stability(Stable)
public static final class SceneReference.Builder
extends Object
implements software.amazon.jsii.Builder<SceneReference>
A builder for
SceneReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSceneReference.getSceneArn()Sets the value ofSceneReference.getSceneId()workspaceId(String workspaceId) Sets the value ofSceneReference.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sceneArn
Sets the value ofSceneReference.getSceneArn()- Parameters:
sceneArn- The ARN of the Scene resource. This parameter is required.- Returns:
this
-
sceneId
Sets the value ofSceneReference.getSceneId()- Parameters:
sceneId- The SceneId of the Scene resource. This parameter is required.- Returns:
this
-
workspaceId
Sets the value ofSceneReference.getWorkspaceId()- Parameters:
workspaceId- The WorkspaceId of the Scene resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SceneReference>- Returns:
- a new instance of
SceneReference - Throws:
NullPointerException- if any required attribute was not provided
-