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