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