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