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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnThingType.ThingTypePropertiesProperty>
- Returns:
- a new instance of
CfnThingType.ThingTypePropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-