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 Details

    • create

      @Stability(Stable) public static CfnThingGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnThingGroup.Builder.
    • parentGroupName

      @Stability(Stable) public CfnThingGroup.Builder parentGroupName(String 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
    • queryString

      @Stability(Stable) public CfnThingGroup.Builder queryString(String queryString)
      The dynamic thing group search query string.

      The queryString attribute is required for CreateDynamicThingGroup . The queryString attribute is not required for CreateThingGroup .

      Parameters:
      queryString - The dynamic thing group search query string. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnThingGroup.Builder tags(List<? extends CfnTag> 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
    • thingGroupName

      @Stability(Stable) public CfnThingGroup.Builder thingGroupName(String thingGroupName)
      The thing group name.

      Parameters:
      thingGroupName - The thing group name. This parameter is required.
      Returns:
      this
    • thingGroupProperties

      @Stability(Stable) public CfnThingGroup.Builder thingGroupProperties(IResolvable thingGroupProperties)
      Thing group properties.

      Parameters:
      thingGroupProperties - Thing group properties. This parameter is required.
      Returns:
      this
    • thingGroupProperties

      @Stability(Stable) public CfnThingGroup.Builder thingGroupProperties(CfnThingGroup.ThingGroupPropertiesProperty thingGroupProperties)
      Thing group properties.

      Parameters:
      thingGroupProperties - Thing group properties. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnThingGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnThingGroup>
      Returns:
      a newly built instance of CfnThingGroup.