Class CfnThingType.Builder

java.lang.Object
software.amazon.awscdk.services.iot.CfnThingType.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingType>
Enclosing class:
CfnThingType

@Stability(Stable) public static final class CfnThingType.Builder extends Object implements software.amazon.jsii.Builder<CfnThingType>
A fluent builder for CfnThingType.
  • Method Details

    • create

      @Stability(Stable) public static CfnThingType.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 CfnThingType.Builder.
    • deprecateThingType

      @Stability(Stable) public CfnThingType.Builder deprecateThingType(Boolean deprecateThingType)
      Deprecates a thing type. You can not associate new things with deprecated thing type.

      Requires permission to access the DeprecateThingType action.

      Parameters:
      deprecateThingType - Deprecates a thing type. You can not associate new things with deprecated thing type. This parameter is required.
      Returns:
      this
    • deprecateThingType

      @Stability(Stable) public CfnThingType.Builder deprecateThingType(IResolvable deprecateThingType)
      Deprecates a thing type. You can not associate new things with deprecated thing type.

      Requires permission to access the DeprecateThingType action.

      Parameters:
      deprecateThingType - Deprecates a thing type. You can not associate new things with deprecated thing type. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnThingType.Builder tags(List<? extends CfnTag> tags)
      Metadata which can be used to manage the thing type.

      Parameters:
      tags - Metadata which can be used to manage the thing type. This parameter is required.
      Returns:
      this
    • thingTypeName

      @Stability(Stable) public CfnThingType.Builder thingTypeName(String thingTypeName)
      The name of the thing type.

      Parameters:
      thingTypeName - The name of the thing type. This parameter is required.
      Returns:
      this
    • thingTypeProperties

      @Stability(Stable) public CfnThingType.Builder thingTypeProperties(IResolvable thingTypeProperties)
      The thing type properties for the thing type to create.

      It contains information about the new thing type including a description, and a list of searchable thing attribute names. ThingTypeProperties can't be updated after the initial creation of the ThingType .

      Parameters:
      thingTypeProperties - The thing type properties for the thing type to create. This parameter is required.
      Returns:
      this
    • thingTypeProperties

      @Stability(Stable) public CfnThingType.Builder thingTypeProperties(CfnThingType.ThingTypePropertiesProperty thingTypeProperties)
      The thing type properties for the thing type to create.

      It contains information about the new thing type including a description, and a list of searchable thing attribute names. ThingTypeProperties can't be updated after the initial creation of the ThingType .

      Parameters:
      thingTypeProperties - The thing type properties for the thing type to create. This parameter is required.
      Returns:
      this
    • build

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