Class CfnThingMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnThingMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingMixinProps>
- Enclosing interface:
CfnThingMixinProps
@Stability(Stable)
public static final class CfnThingMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingMixinProps>
A builder for
CfnThingMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributePayload(CfnThingPropsMixin.AttributePayloadProperty attributePayload) Sets the value ofCfnThingMixinProps.getAttributePayload()attributePayload(IResolvable attributePayload) Sets the value ofCfnThingMixinProps.getAttributePayload()build()Builds the configured instance.Sets the value ofCfnThingMixinProps.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributePayload
Sets the value ofCfnThingMixinProps.getAttributePayload()- Parameters:
attributePayload- A string that contains up to three key value pairs. Maximum length of 800. Duplicates not allowed.- Returns:
this
-
attributePayload
@Stability(Stable) public CfnThingMixinProps.Builder attributePayload(CfnThingPropsMixin.AttributePayloadProperty attributePayload) Sets the value ofCfnThingMixinProps.getAttributePayload()- Parameters:
attributePayload- A string that contains up to three key value pairs. Maximum length of 800. Duplicates not allowed.- Returns:
this
-
thingName
Sets the value ofCfnThingMixinProps.getThingName()- Parameters:
thingName- The name of the thing to update. You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingMixinProps>- Returns:
- a new instance of
CfnThingMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-