@Stability(value=Stable) public static final class CfnThingProps.Builder extends Object implements software.amazon.jsii.Builder<CfnThingProps>
CfnThingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnThingProps.Builder |
attributePayload(CfnThing.AttributePayloadProperty attributePayload)
Sets the value of
CfnThingProps.getAttributePayload() |
CfnThingProps.Builder |
attributePayload(IResolvable attributePayload)
Sets the value of
CfnThingProps.getAttributePayload() |
CfnThingProps |
build()
Builds the configured instance.
|
CfnThingProps.Builder |
thingName(String thingName)
Sets the value of
CfnThingProps.getThingName() |
@Stability(value=Stable) public CfnThingProps.Builder attributePayload(CfnThing.AttributePayloadProperty attributePayload)
CfnThingProps.getAttributePayload()attributePayload - A string that contains up to three key value pairs.
Maximum length of 800. Duplicates not allowed.this@Stability(value=Stable) public CfnThingProps.Builder attributePayload(IResolvable attributePayload)
CfnThingProps.getAttributePayload()attributePayload - A string that contains up to three key value pairs.
Maximum length of 800. Duplicates not allowed.this@Stability(value=Stable) public CfnThingProps.Builder thingName(String thingName)
CfnThingProps.getThingName()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.this@Stability(value=Stable) public CfnThingProps build()
build in interface software.amazon.jsii.Builder<CfnThingProps>CfnThingPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.