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