Class CfnThingType.PropagatingAttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingType.PropagatingAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingType.PropagatingAttributeProperty>
- Enclosing interface:
CfnThingType.PropagatingAttributeProperty
@Stability(Stable)
public static final class CfnThingType.PropagatingAttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingType.PropagatingAttributeProperty>
A builder for
CfnThingType.PropagatingAttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionAttribute(String connectionAttribute) Sets the value ofCfnThingType.PropagatingAttributeProperty.getConnectionAttribute()thingAttribute(String thingAttribute) Sets the value ofCfnThingType.PropagatingAttributeProperty.getThingAttribute()userPropertyKey(String userPropertyKey) Sets the value ofCfnThingType.PropagatingAttributeProperty.getUserPropertyKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userPropertyKey
@Stability(Stable) public CfnThingType.PropagatingAttributeProperty.Builder userPropertyKey(String userPropertyKey) Sets the value ofCfnThingType.PropagatingAttributeProperty.getUserPropertyKey()- Parameters:
userPropertyKey- The key of the MQTT 5 user property, which is a key-value pair. This parameter is required.- Returns:
this
-
connectionAttribute
@Stability(Stable) public CfnThingType.PropagatingAttributeProperty.Builder connectionAttribute(String connectionAttribute) Sets the value ofCfnThingType.PropagatingAttributeProperty.getConnectionAttribute()- Parameters:
connectionAttribute- The attribute associated with the connection details.- Returns:
this
-
thingAttribute
@Stability(Stable) public CfnThingType.PropagatingAttributeProperty.Builder thingAttribute(String thingAttribute) Sets the value ofCfnThingType.PropagatingAttributeProperty.getThingAttribute()- Parameters:
thingAttribute- The thing attribute that is propagating for MQTT 5 message enrichment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingType.PropagatingAttributeProperty>- Returns:
- a new instance of
CfnThingType.PropagatingAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-