public static final class CfnDetectorModel.AssetPropertyValueProperty.Builder
extends java.lang.Object
CfnDetectorModel.AssetPropertyValueProperty
Constructor and Description |
---|
Builder() |
public CfnDetectorModel.AssetPropertyValueProperty.Builder value(IResolvable value)
CfnDetectorModel.AssetPropertyValueProperty.getValue()
value
- The value to send to an asset property. This parameter is required.this
public CfnDetectorModel.AssetPropertyValueProperty.Builder value(CfnDetectorModel.AssetPropertyVariantProperty value)
CfnDetectorModel.AssetPropertyValueProperty.getValue()
value
- The value to send to an asset property. This parameter is required.this
public CfnDetectorModel.AssetPropertyValueProperty.Builder quality(java.lang.String quality)
CfnDetectorModel.AssetPropertyValueProperty.getQuality()
quality
- The quality of the asset property value.
The value must be 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.this
public CfnDetectorModel.AssetPropertyValueProperty.Builder timestamp(IResolvable timestamp)
CfnDetectorModel.AssetPropertyValueProperty.getTimestamp()
timestamp
- The timestamp associated with the asset property value.
The default is the current event time.this
public CfnDetectorModel.AssetPropertyValueProperty.Builder timestamp(CfnDetectorModel.AssetPropertyTimestampProperty timestamp)
CfnDetectorModel.AssetPropertyValueProperty.getTimestamp()
timestamp
- The timestamp associated with the asset property value.
The default is the current event time.this
public CfnDetectorModel.AssetPropertyValueProperty build()
CfnDetectorModel.AssetPropertyValueProperty
java.lang.NullPointerException
- if any required attribute was not provided