Class CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.PutAssetPropertyValueEntryProperty>
- Enclosing interface:
CfnTopicRule.PutAssetPropertyValueEntryProperty
@Stability(Stable)
public static final class CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.PutAssetPropertyValueEntryProperty>
A builder for
CfnTopicRule.PutAssetPropertyValueEntryProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getAssetId()
build()
Builds the configured instance.Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getEntryId()
propertyAlias
(String propertyAlias) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyAlias()
propertyId
(String propertyId) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyId()
propertyValues
(List<? extends Object> propertyValues) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyValues()
propertyValues
(IResolvable propertyValues) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
propertyValues
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder propertyValues(IResolvable propertyValues) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyValues()
- Parameters:
propertyValues
- A list of property values to insert that each contain timestamp, quality, and value (TQV) information. This parameter is required.- Returns:
this
-
propertyValues
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder propertyValues(List<? extends Object> propertyValues) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyValues()
- Parameters:
propertyValues
- A list of property values to insert that each contain timestamp, quality, and value (TQV) information. This parameter is required.- Returns:
this
-
assetId
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder assetId(String assetId) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getAssetId()
- Parameters:
assetId
- The ID of the AWS IoT SiteWise asset. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
this
-
entryId
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder entryId(String entryId) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getEntryId()
- Parameters:
entryId
- Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.- Returns:
this
-
propertyAlias
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder propertyAlias(String propertyAlias) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyAlias()
- Parameters:
propertyAlias
- The name of the property alias associated with your asset property. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
this
-
propertyId
@Stability(Stable) public CfnTopicRule.PutAssetPropertyValueEntryProperty.Builder propertyId(String propertyId) Sets the value ofCfnTopicRule.PutAssetPropertyValueEntryProperty.getPropertyId()
- Parameters:
propertyId
- The ID of the asset's property. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.PutAssetPropertyValueEntryProperty>
- Returns:
- a new instance of
CfnTopicRule.PutAssetPropertyValueEntryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-