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