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 Summary
Modifier and TypeMethodDescriptionbuild()static CfnThingType.BuilderdeprecateThingType(Boolean deprecateThingType) Deprecates a thing type.deprecateThingType(IResolvable deprecateThingType) Deprecates a thing type.Metadata which can be used to manage the thing type.thingTypeName(String thingTypeName) The name of the thing type.thingTypeProperties(IResolvable thingTypeProperties) The thing type properties for the thing type to create.thingTypeProperties(CfnThingType.ThingTypePropertiesProperty thingTypeProperties) The thing type properties for the thing type to create.
-
Method Details
-
create
@Stability(Stable) public static CfnThingType.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
CfnThingType.Builder.
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
thingTypeName
The name of the thing type.- Parameters:
thingTypeName- The name of the thing type. This parameter is required.- Returns:
this- See Also:
-
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.
ThingTypePropertiescan't be updated after the initial creation of theThingType.- Parameters:
thingTypeProperties- The thing type properties for the thing type to create. This parameter is required.- Returns:
this- See Also:
-
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.
ThingTypePropertiescan't be updated after the initial creation of theThingType.- Parameters:
thingTypeProperties- The thing type properties for the thing type to create. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingType>- Returns:
- a newly built instance of
CfnThingType.
-