Class CfnThingPropsMixin.AttributePayloadProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnThingPropsMixin.AttributePayloadProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingPropsMixin.AttributePayloadProperty>
- Enclosing interface:
CfnThingPropsMixin.AttributePayloadProperty
@Stability(Stable)
public static final class CfnThingPropsMixin.AttributePayloadProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingPropsMixin.AttributePayloadProperty>
A builder for
CfnThingPropsMixin.AttributePayloadProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) Sets the value ofCfnThingPropsMixin.AttributePayloadProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnThingPropsMixin.AttributePayloadProperty.getAttributes()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnThingPropsMixin.AttributePayloadProperty.Builder attributes(Map<String, String> attributes) Sets the value ofCfnThingPropsMixin.AttributePayloadProperty.getAttributes()- Parameters:
attributes- A JSON string containing up to three key-value pair in JSON format. For example:.{\"attributes\":{\"string1\":\"string2\"}}- Returns:
this
-
attributes
@Stability(Stable) public CfnThingPropsMixin.AttributePayloadProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnThingPropsMixin.AttributePayloadProperty.getAttributes()- Parameters:
attributes- A JSON string containing up to three key-value pair in JSON format. For example:.{\"attributes\":{\"string1\":\"string2\"}}- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThingPropsMixin.AttributePayloadProperty>- Returns:
- a new instance of
CfnThingPropsMixin.AttributePayloadProperty - Throws:
NullPointerException- if any required attribute was not provided
-