Class CfnEntityMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iottwinmaker.CfnEntityMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityMixinProps>
- Enclosing interface:
CfnEntityMixinProps
@Stability(Stable)
public static final class CfnEntityMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityMixinProps>
A builder for
CfnEntityMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.components(Map<String, ? extends Object> components) Sets the value ofCfnEntityMixinProps.getComponents()components(IResolvable components) Sets the value ofCfnEntityMixinProps.getComponents()compositeComponents(Map<String, ? extends Object> compositeComponents) Sets the value ofCfnEntityMixinProps.getCompositeComponents()compositeComponents(IResolvable compositeComponents) Sets the value ofCfnEntityMixinProps.getCompositeComponents()description(String description) Sets the value ofCfnEntityMixinProps.getDescription()Sets the value ofCfnEntityMixinProps.getEntityId()entityName(String entityName) Sets the value ofCfnEntityMixinProps.getEntityName()parentEntityId(String parentEntityId) Sets the value ofCfnEntityMixinProps.getParentEntityId()Sets the value ofCfnEntityMixinProps.getTags()workspaceId(String workspaceId) Sets the value ofCfnEntityMixinProps.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
components
Sets the value ofCfnEntityMixinProps.getComponents()- Parameters:
components- An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.For information on the component object see the component API reference.
- Returns:
this
-
components
@Stability(Stable) public CfnEntityMixinProps.Builder components(Map<String, ? extends Object> components) Sets the value ofCfnEntityMixinProps.getComponents()- Parameters:
components- An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.For information on the component object see the component API reference.
- Returns:
this
-
compositeComponents
@Stability(Stable) public CfnEntityMixinProps.Builder compositeComponents(IResolvable compositeComponents) Sets the value ofCfnEntityMixinProps.getCompositeComponents()- Parameters:
compositeComponents- Maps string tocompositeComponentupdates in the request. Each key of the map represents thecomponentPathof thecompositeComponent.- Returns:
this
-
compositeComponents
@Stability(Stable) public CfnEntityMixinProps.Builder compositeComponents(Map<String, ? extends Object> compositeComponents) Sets the value ofCfnEntityMixinProps.getCompositeComponents()- Parameters:
compositeComponents- Maps string tocompositeComponentupdates in the request. Each key of the map represents thecomponentPathof thecompositeComponent.- Returns:
this
-
description
Sets the value ofCfnEntityMixinProps.getDescription()- Parameters:
description- The description of the entity.- Returns:
this
-
entityId
Sets the value ofCfnEntityMixinProps.getEntityId()- Parameters:
entityId- The ID of the entity.- Returns:
this
-
entityName
Sets the value ofCfnEntityMixinProps.getEntityName()- Parameters:
entityName- The entity name.- Returns:
this
-
parentEntityId
Sets the value ofCfnEntityMixinProps.getParentEntityId()- Parameters:
parentEntityId- The ID of the parent entity.- Returns:
this
-
tags
Sets the value ofCfnEntityMixinProps.getTags()- Parameters:
tags- Metadata that you can use to manage the entity.- Returns:
this
-
workspaceId
Sets the value ofCfnEntityMixinProps.getWorkspaceId()- Parameters:
workspaceId- The ID of the workspace that contains the entity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityMixinProps>- Returns:
- a new instance of
CfnEntityMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-