Class CfnSceneProps.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnSceneProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSceneProps>
- Enclosing interface:
- CfnSceneProps
@Stability(Stable)
public static final class CfnSceneProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSceneProps>
A builder for
CfnSceneProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilities(List<String> capabilities) Sets the value ofCfnSceneProps.getCapabilities()contentLocation(String contentLocation) Sets the value ofCfnSceneProps.getContentLocation()description(String description) Sets the value ofCfnSceneProps.getDescription()Sets the value ofCfnSceneProps.getSceneId()sceneMetadata(Map<String, String> sceneMetadata) Sets the value ofCfnSceneProps.getSceneMetadata()sceneMetadata(IResolvable sceneMetadata) Sets the value ofCfnSceneProps.getSceneMetadata()Sets the value ofCfnSceneProps.getTags()workspaceId(String workspaceId) Sets the value ofCfnSceneProps.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentLocation
Sets the value ofCfnSceneProps.getContentLocation()- Parameters:
contentLocation- The relative path that specifies the location of the content definition file. This parameter is required.- Returns:
this
-
sceneId
Sets the value ofCfnSceneProps.getSceneId()- Parameters:
sceneId- The scene ID. This parameter is required.- Returns:
this
-
workspaceId
Sets the value ofCfnSceneProps.getWorkspaceId()- Parameters:
workspaceId- The ID of the workspace. This parameter is required.- Returns:
this
-
capabilities
Sets the value ofCfnSceneProps.getCapabilities()- Parameters:
capabilities- A list of capabilities that the scene uses to render.- Returns:
this
-
description
Sets the value ofCfnSceneProps.getDescription()- Parameters:
description- The description of this scene.- Returns:
this
-
sceneMetadata
Sets the value ofCfnSceneProps.getSceneMetadata()- Parameters:
sceneMetadata- The scene metadata.- Returns:
this
-
sceneMetadata
Sets the value ofCfnSceneProps.getSceneMetadata()- Parameters:
sceneMetadata- The scene metadata.- Returns:
this
-
tags
Sets the value ofCfnSceneProps.getTags()- Parameters:
tags- The ComponentType tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSceneProps>- Returns:
- a new instance of
CfnSceneProps - Throws:
NullPointerException- if any required attribute was not provided
-