Class CfnThingGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingGroupProps>
- Enclosing interface:
CfnThingGroupProps
@Stability(Stable)
public static final class CfnThingGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingGroupProps>
A builder for
CfnThingGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parentGroupName(String parentGroupName) Sets the value ofCfnThingGroupProps.getParentGroupName()queryString(String queryString) Sets the value ofCfnThingGroupProps.getQueryString()Sets the value ofCfnThingGroupProps.getTags()thingGroupName(String thingGroupName) Sets the value ofCfnThingGroupProps.getThingGroupName()thingGroupProperties(IResolvable thingGroupProperties) Sets the value ofCfnThingGroupProps.getThingGroupProperties()thingGroupProperties(CfnThingGroup.ThingGroupPropertiesProperty thingGroupProperties) Sets the value ofCfnThingGroupProps.getThingGroupProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parentGroupName
Sets the value ofCfnThingGroupProps.getParentGroupName()- Parameters:
parentGroupName- The parent thing group name. A Dynamic Thing Group does not haveparentGroupNamedefined.- Returns:
this
-
queryString
Sets the value ofCfnThingGroupProps.getQueryString()- Parameters:
queryString- The dynamic thing group search query string. ThequeryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- Returns:
this
-
tags
Sets the value ofCfnThingGroupProps.getTags()- Parameters:
tags- Metadata which can be used to manage the thing group or dynamic thing group.- Returns:
this
-
thingGroupName
Sets the value ofCfnThingGroupProps.getThingGroupName()- Parameters:
thingGroupName- The thing group name.- Returns:
this
-
thingGroupProperties
@Stability(Stable) public CfnThingGroupProps.Builder thingGroupProperties(IResolvable thingGroupProperties) Sets the value ofCfnThingGroupProps.getThingGroupProperties()- Parameters:
thingGroupProperties- Thing group properties.- Returns:
this
-
thingGroupProperties
@Stability(Stable) public CfnThingGroupProps.Builder thingGroupProperties(CfnThingGroup.ThingGroupPropertiesProperty thingGroupProperties) Sets the value ofCfnThingGroupProps.getThingGroupProperties()- Parameters:
thingGroupProperties- Thing group properties.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingGroupProps>- Returns:
- a new instance of
CfnThingGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-