Class CfnEntity.CompositeComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnEntity.CompositeComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntity.CompositeComponentProperty>
- Enclosing interface:
CfnEntity.CompositeComponentProperty
@Stability(Stable)
public static final class CfnEntity.CompositeComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntity.CompositeComponentProperty>
A builder for
CfnEntity.CompositeComponentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentName(String componentName) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentName()componentPath(String componentPath) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentPath()componentTypeId(String componentTypeId) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentTypeId()description(String description) Sets the value ofCfnEntity.CompositeComponentProperty.getDescription()properties(Map<String, ? extends Object> properties) Sets the value ofCfnEntity.CompositeComponentProperty.getProperties()properties(IResolvable properties) Sets the value ofCfnEntity.CompositeComponentProperty.getProperties()propertyGroups(Map<String, ? extends Object> propertyGroups) Sets the value ofCfnEntity.CompositeComponentProperty.getPropertyGroups()propertyGroups(IResolvable propertyGroups) Sets the value ofCfnEntity.CompositeComponentProperty.getPropertyGroups()status(IResolvable status) Sets the value ofCfnEntity.CompositeComponentProperty.getStatus()status(CfnEntity.StatusProperty status) Sets the value ofCfnEntity.CompositeComponentProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentName
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder componentName(String componentName) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentName()- Parameters:
componentName- The name of the component.- Returns:
this
-
componentPath
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder componentPath(String componentPath) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentPath()- Parameters:
componentPath- The path to the composite component, starting from the top-level component.- Returns:
this
-
componentTypeId
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder componentTypeId(String componentTypeId) Sets the value ofCfnEntity.CompositeComponentProperty.getComponentTypeId()- Parameters:
componentTypeId- The ID of the composite component type.- Returns:
this
-
description
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder description(String description) Sets the value ofCfnEntity.CompositeComponentProperty.getDescription()- Parameters:
description- The description of the component type.- Returns:
this
-
properties
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder properties(IResolvable properties) Sets the value ofCfnEntity.CompositeComponentProperty.getProperties()- Parameters:
properties- Map of strings to the properties in the component type. Each string in the mapping must be unique to this component.- Returns:
this
-
properties
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder properties(Map<String, ? extends Object> properties) Sets the value ofCfnEntity.CompositeComponentProperty.getProperties()- Parameters:
properties- Map of strings to the properties in the component type. Each string in the mapping must be unique to this component.- Returns:
this
-
propertyGroups
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder propertyGroups(IResolvable propertyGroups) Sets the value ofCfnEntity.CompositeComponentProperty.getPropertyGroups()- Parameters:
propertyGroups- The property groups.- Returns:
this
-
propertyGroups
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder propertyGroups(Map<String, ? extends Object> propertyGroups) Sets the value ofCfnEntity.CompositeComponentProperty.getPropertyGroups()- Parameters:
propertyGroups- The property groups.- Returns:
this
-
status
Sets the value ofCfnEntity.CompositeComponentProperty.getStatus()- Parameters:
status- The current status of the composite component.- Returns:
this
-
status
@Stability(Stable) public CfnEntity.CompositeComponentProperty.Builder status(CfnEntity.StatusProperty status) Sets the value ofCfnEntity.CompositeComponentProperty.getStatus()- Parameters:
status- The current status of the composite component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntity.CompositeComponentProperty>- Returns:
- a new instance of
CfnEntity.CompositeComponentProperty - Throws:
NullPointerException- if any required attribute was not provided
-