Class CfnPipeline.DeviceShadowEnrichProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnPipeline.DeviceShadowEnrichProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.DeviceShadowEnrichProperty>
- Enclosing interface:
- CfnPipeline.DeviceShadowEnrichProperty
@Stability(Stable)
public static final class CfnPipeline.DeviceShadowEnrichProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.DeviceShadowEnrichProperty>
A builder for
CfnPipeline.DeviceShadowEnrichProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipeline.DeviceShadowEnrichProperty.getAttribute()build()Builds the configured instance.Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getName()Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getNext()Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getRoleArn()Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attribute
@Stability(Stable) public CfnPipeline.DeviceShadowEnrichProperty.Builder attribute(String attribute) Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getAttribute()- Parameters:
attribute- The name of the attribute that is added to the message. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getName()- Parameters:
name- The name of the 'deviceShadowEnrich' activity. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that allows access to the device's shadow. This parameter is required.- Returns:
this
-
thingName
@Stability(Stable) public CfnPipeline.DeviceShadowEnrichProperty.Builder thingName(String thingName) Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getThingName()- Parameters:
thingName- The name of the IoT device whose shadow information is added to the message. This parameter is required.- Returns:
this
-
next
Sets the value ofCfnPipeline.DeviceShadowEnrichProperty.getNext()- Parameters:
next- The next activity in the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.DeviceShadowEnrichProperty>- Returns:
- a new instance of
CfnPipeline.DeviceShadowEnrichProperty - Throws:
NullPointerException- if any required attribute was not provided
-