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