Class CfnThingGroup.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingGroup>
- Enclosing class:
CfnThingGroup
@Stability(Stable)
public static final class CfnThingGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingGroup>
A fluent builder for
CfnThingGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnThingGroup.Builder
parentGroupName
(String parentGroupName) The parent thing group name.queryString
(String queryString) The dynamic thing group search query string.Metadata which can be used to manage the thing group or dynamic thing group.thingGroupName
(String thingGroupName) The thing group name.thingGroupProperties
(IResolvable thingGroupProperties) Thing group properties.thingGroupProperties
(CfnThingGroup.ThingGroupPropertiesProperty thingGroupProperties) Thing group properties.
-
Method Details
-
create
@Stability(Stable) public static CfnThingGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnThingGroup.Builder
.
-
parentGroupName
The parent thing group name.A Dynamic Thing Group does not have
parentGroupName
defined.- Parameters:
parentGroupName
- The parent thing group name. This parameter is required.- Returns:
this
- See Also:
-
queryString
The dynamic thing group search query string.The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- Parameters:
queryString
- The dynamic thing group search query string. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata which can be used to manage the thing group or dynamic thing group.- Parameters:
tags
- Metadata which can be used to manage the thing group or dynamic thing group. This parameter is required.- Returns:
this
- See Also:
-
thingGroupName
The thing group name.- Parameters:
thingGroupName
- The thing group name. This parameter is required.- Returns:
this
- See Also:
-
thingGroupProperties
@Stability(Stable) public CfnThingGroup.Builder thingGroupProperties(IResolvable thingGroupProperties) Thing group properties.- Parameters:
thingGroupProperties
- Thing group properties. This parameter is required.- Returns:
this
- See Also:
-
thingGroupProperties
@Stability(Stable) public CfnThingGroup.Builder thingGroupProperties(CfnThingGroup.ThingGroupPropertiesProperty thingGroupProperties) Thing group properties.- Parameters:
thingGroupProperties
- Thing group properties. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThingGroup>
- Returns:
- a newly built instance of
CfnThingGroup
.
-