Class CfnThingTypeProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingTypeProps>
- Enclosing interface:
CfnThingTypeProps
@Stability(Stable)
public static final class CfnThingTypeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingTypeProps>
A builder for
CfnThingTypeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deprecateThingType(Boolean deprecateThingType) Sets the value ofCfnThingTypeProps.getDeprecateThingType()deprecateThingType(IResolvable deprecateThingType) Sets the value ofCfnThingTypeProps.getDeprecateThingType()Sets the value ofCfnThingTypeProps.getTags()thingTypeName(String thingTypeName) Sets the value ofCfnThingTypeProps.getThingTypeName()thingTypeProperties(IResolvable thingTypeProperties) Sets the value ofCfnThingTypeProps.getThingTypeProperties()thingTypeProperties(CfnThingType.ThingTypePropertiesProperty thingTypeProperties) Sets the value ofCfnThingTypeProps.getThingTypeProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deprecateThingType
Sets the value ofCfnThingTypeProps.getDeprecateThingType()- Parameters:
deprecateThingType- Deprecates a thing type. You can not associate new things with deprecated thing type. Requires permission to access the DeprecateThingType action.- Returns:
this
-
deprecateThingType
@Stability(Stable) public CfnThingTypeProps.Builder deprecateThingType(IResolvable deprecateThingType) Sets the value ofCfnThingTypeProps.getDeprecateThingType()- Parameters:
deprecateThingType- Deprecates a thing type. You can not associate new things with deprecated thing type. Requires permission to access the DeprecateThingType action.- Returns:
this
-
tags
Sets the value ofCfnThingTypeProps.getTags()- Parameters:
tags- Metadata which can be used to manage the thing type.- Returns:
this
-
thingTypeName
Sets the value ofCfnThingTypeProps.getThingTypeName()- Parameters:
thingTypeName- The name of the thing type.- Returns:
this
-
thingTypeProperties
@Stability(Stable) public CfnThingTypeProps.Builder thingTypeProperties(IResolvable thingTypeProperties) Sets the value ofCfnThingTypeProps.getThingTypeProperties()- Parameters:
thingTypeProperties- The thing type properties for the thing type to create. It contains information about the new thing type including a description, a list of searchable thing attribute names, and a list of propagating attributes. After a thing type is created, you can only updateMqtt5Configuration.- Returns:
this
-
thingTypeProperties
@Stability(Stable) public CfnThingTypeProps.Builder thingTypeProperties(CfnThingType.ThingTypePropertiesProperty thingTypeProperties) Sets the value ofCfnThingTypeProps.getThingTypeProperties()- Parameters:
thingTypeProperties- The thing type properties for the thing type to create. It contains information about the new thing type including a description, a list of searchable thing attribute names, and a list of propagating attributes. After a thing type is created, you can only updateMqtt5Configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingTypeProps>- Returns:
- a new instance of
CfnThingTypeProps - Throws:
NullPointerException- if any required attribute was not provided
-