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.Builder
deprecateThingType
(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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
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
The name of the thing type.- Parameters:
thingTypeName
- The name of the thing type. This parameter is required.- Returns:
this
-
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 theThingType
.- 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 theThingType
.- Parameters:
thingTypeProperties
- The thing type properties for the thing type to create. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThingType>
- Returns:
- a newly built instance of
CfnThingType
.
-