Class CfnThingGroup.ThingGroupPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingGroup.ThingGroupPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingGroup.ThingGroupPropertiesProperty>
- Enclosing interface:
- CfnThingGroup.ThingGroupPropertiesProperty
@Stability(Stable)
public static final class CfnThingGroup.ThingGroupPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingGroup.ThingGroupPropertiesProperty>
A builder for
CfnThingGroup.ThingGroupPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributePayload
(IResolvable attributePayload) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getAttributePayload()
attributePayload
(CfnThingGroup.AttributePayloadProperty attributePayload) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getAttributePayload()
build()
Builds the configured instance.thingGroupDescription
(String thingGroupDescription) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getThingGroupDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributePayload
@Stability(Stable) public CfnThingGroup.ThingGroupPropertiesProperty.Builder attributePayload(IResolvable attributePayload) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getAttributePayload()
- Parameters:
attributePayload
- The thing group attributes in JSON format.- Returns:
this
-
attributePayload
@Stability(Stable) public CfnThingGroup.ThingGroupPropertiesProperty.Builder attributePayload(CfnThingGroup.AttributePayloadProperty attributePayload) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getAttributePayload()
- Parameters:
attributePayload
- The thing group attributes in JSON format.- Returns:
this
-
thingGroupDescription
@Stability(Stable) public CfnThingGroup.ThingGroupPropertiesProperty.Builder thingGroupDescription(String thingGroupDescription) Sets the value ofCfnThingGroup.ThingGroupPropertiesProperty.getThingGroupDescription()
- Parameters:
thingGroupDescription
- The thing group description.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThingGroup.ThingGroupPropertiesProperty>
- Returns:
- a new instance of
CfnThingGroup.ThingGroupPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-