Class CfnTopicRule.AssetPropertyValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.AssetPropertyValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.AssetPropertyValueProperty>
- Enclosing interface:
CfnTopicRule.AssetPropertyValueProperty
@Stability(Stable)
public static final class CfnTopicRule.AssetPropertyValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.AssetPropertyValueProperty>
A builder for
CfnTopicRule.AssetPropertyValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getQuality()
timestamp
(IResolvable timestamp) Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getTimestamp()
Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getTimestamp()
value
(IResolvable value) Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getValue()
Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timestamp
@Stability(Stable) public CfnTopicRule.AssetPropertyValueProperty.Builder timestamp(IResolvable timestamp) Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getTimestamp()
- Parameters:
timestamp
- The asset property value timestamp. This parameter is required.- Returns:
this
-
timestamp
@Stability(Stable) public CfnTopicRule.AssetPropertyValueProperty.Builder timestamp(CfnTopicRule.AssetPropertyTimestampProperty timestamp) Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getTimestamp()
- Parameters:
timestamp
- The asset property value timestamp. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getValue()
- Parameters:
value
- The value of the asset property. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnTopicRule.AssetPropertyValueProperty.Builder value(CfnTopicRule.AssetPropertyVariantProperty value) Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getValue()
- Parameters:
value
- The value of the asset property. This parameter is required.- Returns:
this
-
quality
Sets the value ofCfnTopicRule.AssetPropertyValueProperty.getQuality()
- Parameters:
quality
- Optional. A string that describes the quality of the value. Accepts substitution templates. Must beGOOD
,BAD
, orUNCERTAIN
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.AssetPropertyValueProperty>
- Returns:
- a new instance of
CfnTopicRule.AssetPropertyValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-