Class CfnThing.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThing.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThing>
- Enclosing class:
CfnThing
@Stability(Stable)
public static final class CfnThing.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThing>
A fluent builder for
CfnThing
.-
Method Summary
Modifier and TypeMethodDescriptionattributePayload
(IResolvable attributePayload) A string that contains up to three key value pairs.attributePayload
(CfnThing.AttributePayloadProperty attributePayload) A string that contains up to three key value pairs.build()
static CfnThing.Builder
The name of the thing to update.
-
Method Details
-
create
@Stability(Stable) public static CfnThing.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnThing.Builder
.
-
attributePayload
A string that contains up to three key value pairs.Maximum length of 800. Duplicates not allowed.
- Parameters:
attributePayload
- A string that contains up to three key value pairs. This parameter is required.- Returns:
this
- See Also:
-
attributePayload
@Stability(Stable) public CfnThing.Builder attributePayload(CfnThing.AttributePayloadProperty attributePayload) A string that contains up to three key value pairs.Maximum length of 800. Duplicates not allowed.
- Parameters:
attributePayload
- A string that contains up to three key value pairs. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
thingName
- The name of the thing to update. This parameter is required.- Returns:
this
- See Also:
-
build
-