Class CfnThingType.ThingTypePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingType.ThingTypePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingType.ThingTypePropertiesProperty>
- Enclosing interface:
CfnThingType.ThingTypePropertiesProperty
@Stability(Stable)
public static final class CfnThingType.ThingTypePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingType.ThingTypePropertiesProperty>
A builder for
CfnThingType.ThingTypePropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mqtt5Configuration(IResolvable mqtt5Configuration) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getMqtt5Configuration()mqtt5Configuration(CfnThingType.Mqtt5ConfigurationProperty mqtt5Configuration) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getMqtt5Configuration()searchableAttributes(List<String> searchableAttributes) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getSearchableAttributes()thingTypeDescription(String thingTypeDescription) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getThingTypeDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mqtt5Configuration
@Stability(Stable) public CfnThingType.ThingTypePropertiesProperty.Builder mqtt5Configuration(IResolvable mqtt5Configuration) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getMqtt5Configuration()- Parameters:
mqtt5Configuration- The configuration to add user-defined properties to enrich MQTT 5 messages.- Returns:
this
-
mqtt5Configuration
@Stability(Stable) public CfnThingType.ThingTypePropertiesProperty.Builder mqtt5Configuration(CfnThingType.Mqtt5ConfigurationProperty mqtt5Configuration) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getMqtt5Configuration()- Parameters:
mqtt5Configuration- The configuration to add user-defined properties to enrich MQTT 5 messages.- Returns:
this
-
searchableAttributes
@Stability(Stable) public CfnThingType.ThingTypePropertiesProperty.Builder searchableAttributes(List<String> searchableAttributes) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getSearchableAttributes()- Parameters:
searchableAttributes- A list of searchable thing attribute names.- Returns:
this
-
thingTypeDescription
@Stability(Stable) public CfnThingType.ThingTypePropertiesProperty.Builder thingTypeDescription(String thingTypeDescription) Sets the value ofCfnThingType.ThingTypePropertiesProperty.getThingTypeDescription()- Parameters:
thingTypeDescription- The description of the thing type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingType.ThingTypePropertiesProperty>- Returns:
- a new instance of
CfnThingType.ThingTypePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-