Class CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.IotSiteWiseActionProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.IotSiteWiseActionProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.IotSiteWiseActionProperty>
A builder for
CfnTopicRulePropsMixin.IotSiteWiseActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.putAssetPropertyValueEntries(List<? extends Object> putAssetPropertyValueEntries) putAssetPropertyValueEntries(IResolvable putAssetPropertyValueEntries) Sets the value ofCfnTopicRulePropsMixin.IotSiteWiseActionProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
putAssetPropertyValueEntries
@Stability(Stable) public CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder putAssetPropertyValueEntries(IResolvable putAssetPropertyValueEntries) Sets the value ofCfnTopicRulePropsMixin.IotSiteWiseActionProperty.getPutAssetPropertyValueEntries()- Parameters:
putAssetPropertyValueEntries- A list of asset property value entries.- Returns:
this
-
putAssetPropertyValueEntries
@Stability(Stable) public CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder putAssetPropertyValueEntries(List<? extends Object> putAssetPropertyValueEntries) Sets the value ofCfnTopicRulePropsMixin.IotSiteWiseActionProperty.getPutAssetPropertyValueEntries()- Parameters:
putAssetPropertyValueEntries- A list of asset property value entries.- Returns:
this
-
roleArn
@Stability(Stable) public CfnTopicRulePropsMixin.IotSiteWiseActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnTopicRulePropsMixin.IotSiteWiseActionProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.IotSiteWiseActionProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.IotSiteWiseActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-